Comments (3)
I've been able to make it work like this:
<plugin name="cordova-plugin-localization-strings" spec="~3.2.1">
<variable name="TRANSLATION_PATH" value="resources/native-translations/" />
</plugin>
from cordova-plugin-localization-strings.
Just gave it a quick look and the code actually looks a bit bad. 😭
Repeated code (android/ios), bad if/else statements, variable values being assigned twice in a row, imports in the middle of the code, etc
Doesn't look good on me talking shit about this code but its true....
This could use quite a good amount of improvement. Unfortunately I dont have the time currently.
You can always try to solve it on your own or create a bounty for someone to solve it:
https://www.bountysource.com/
from cordova-plugin-localization-strings.
@rodrigograca31 @miqmago I am working on ionic 4 project.I used this plugin and also followed the steps mentioned in readme.I also used comment mentioned above by @miqmago but nothing worked for me.It did not create any "/Resources/es.lproj/Localizable.strings" files at given path.I am trying to use this plugin for localising strings in dutch and english for NSCameraUsageDescription and other info.plist strings.Can anybody help me out !
from cordova-plugin-localization-strings.
Related Issues (20)
- What is the default language if there are 2 languages specified HOT 1
- Plugin not working on Release Build iOS HOT 9
- Execution failed for task ':app:mergeDebugResources'. HOT 3
- Doesn't work in Phonegap Build (https://build.phonegap.com) HOT 3
- Not getting localized strings on iOS 13 HOT 2
- Remove lodash dependency? HOT 2
- creating localisation with "-" fails on android HOT 2
- How to set fallback language HOT 3
- npm audit failes with 5 vulnerabilities (4 low, 1 moderate) HOT 4
- Force Android resConfigs HOT 1
- If missing config_android, then empty strings.xml will be created
- Prepare fails on iOS with "Error: Cannot read properties of undefined (reading 'project')" HOT 3
- Cordova plugin version is still on 3.2.1 HOT 3
- (iOS) Does not support encoded characters in project name (&) HOT 2
- projectFile import will break in cordova-ios@7 HOT 1
- Version 5.0.0 - 5.0.2 regex broken on Windows HOT 6
- Automatic tests HOT 1
- Possible VoltBuilder woes
- Installing the latest version causes an error → EUNSUPPORTEDPROTOCOL HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-localization-strings.