Git Product home page Git Product logo

andaluh-cordova's Introduction

Andaluh-cordova

Transliterate español (spanish) spelling to andaluz app transcriptor.

Table of Contents

Description

The Andalusian varieties of [Spanish] (Spanish: andaluz; Andalusian) are spoken in Andalusia, Ceuta, Melilla, and Gibraltar. They include perhaps the most distinct of the southern variants of peninsular Spanish, differing in many respects from northern varieties, and also from Standard Spanish. Further info: https://en.wikipedia.org/wiki/Andalusian_Spanish.

This app uses the Andaluh-js, for further info about transliteration functions to convert español (spanish) spelling to andaluz p

As there's no official or standard andaluz spelling, andaluh-py & andaluh-js is adopting the EPA proposal (Er Prinzipito Andaluh). Further info: https://andaluhepa.wordpress.com. Other andaluz spelling proposals are planned to be added as well.

Usage

Angular CLI version 6.1.2.

cordova-android version 6.3.0.

cordova-ios version 4.5.5.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the www/ directory. Use the --prod flag for a production build.

Cordova Prepare

Once you have built the angular app (previous step), the following command will install the platforms (android, ios) and apply whatever config is found in the config.xml file.

cordova prepare

Cordova Run

When running this comman with an andriod device plugged in USB, the app will be installed directly in the device, otherwise if no target specified it will try to find a simulator for the desired platform

cordova run ios|android

Cordova Build

The following command will build the app in the target platform (ios|android)

cordova build ios|android

Cordova Emulate

cordova emulate ios|android

Run with Docker

Run ng build --prod to build the project. Then run docker-compose up --build to build the docker image from www/ built artifacts and running within a container with nginx. Edit the docker-compose.yml file with your preferences.

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

andaluh-cordova's People

Contributors

eamador avatar fontanon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

andaluh-cordova's Issues

Error on typescript import andaluh-js

At first compilation, TS aborts with error module has no exported memeber 'EPA. This is the import declaration at app/src/transcriptor/transcriptor.component.ts:13

import { EPA } from '@andalugeeks/andaluh';

It is weird the compilation aborts with the error, but at the same time it works upon compilation reload. Let's have a look:

$ ng serve
Your global Angular CLI version (10.1.4) is greater than your local
version (6.1.5). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
 10% building modules 6/6 modules 0 activeℹ 「wds」: Project is running at http://localhost:4200/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /home/fontanon/Downloads/andaluh-cordova
ℹ 「wds」: 404s will fallback to //index.html
                                                                                          
Date: 2021-03-12T13:51:58.704Z
Hash: 1aa2afdf12dbcbaedc5c
Time: 6043ms
chunk {main} main.js, main.js.map (main) 364 kB [entry] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 363 kB [entry] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 620 kB [entry] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 5.5 kB [initial] [rendered]

ERROR in src/app/transcriptor/transcriptor.component.ts(12,10): error TS2305: Module '"/home/fontanon/Downloads/node_modules/@andalugeeks/andaluh/dist/src/index"' has no exported member 'EPA'.

ℹ 「wdm」: Failed to compile.

Now we modify/save any file on the project (to force ng to reload):

ℹ 「wdm」: Compiling...
 69% building modules 318/321 modules 3 active …app/common/footer/footer.component.scssERROR in src/app/transcriptor/transcriptor.component.ts(12,10): error TS2305: Module '"/home/fontanon/Downloads/node_modules/@andalugeeks/andaluh/dist/src/index"' has no exported member 'EPA'.

                                                                                          
Date: 2021-03-12T13:55:29.928Z - Hash: 62d188297c435d7204f0 - Time: 7343ms
2 unchanged chunks
chunk {main} main.js, main.js.map (main) 1.4 MB [entry] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 603 kB [entry] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.42 MB [initial] [rendered]
ℹ 「wdm」: Compiled successfully.

And the compilation ends successfully now. (•ิ_•ิ)? WHAAT? Why?

Evidence of app working here: https://drive.google.com/file/d/1U7BF1vwwmee_Qj0TKQ1vVDP41-Ui70Sn/view?usp=sharing

The issue is, building a production build will always fail. So the app cannot be turned into an android / iOS app anymore:

$ ng build --prod
Your global Angular CLI version (10.1.4) is greater than your local
version (6.1.5). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
                                                                                   
Date: 2021-03-12T13:59:35.427Z
Hash: f86595d354bedf7827f5
Time: 9402ms
chunk {0} runtime.a66f828dca56eeb90e02.js (runtime) 1.05 kB [entry] [rendered]
chunk {1} styles.aeca921d63180cdb3639.css (styles) 185 kB [initial] [rendered]
chunk {2} polyfills.e7f5364b276024e19b0b.js (polyfills) 130 bytes [initial] [rendered]
chunk {3} main.0594610c91de797f492a.js (main) 128 bytes [initial] [rendered]

ERROR in src/app/transcriptor/transcriptor.component.ts(12,10): error TS2305: Module '"/home/fontanon/Downloads/node_modules/@andalugeeks/andaluh/dist/src/index"' has no exported member 'EPA'.

CONCLUSION: Something should be done in order to successfully import EPA class from @andalugeeks/andaluh but I'm not capable of figuring out how.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.