I want to share this little app; when @Erel first post the B4XLocalizator Tutorial, one thing that I didn't like is that the Sqlite DB building was based on an external application (Excel)
This app recreates a similar environment of a Excel File in a B4J Tableview:
---------------------------
With this util, you can:
Edit: Attached version 1.2 -- 9/10/2016
ChangeLog:
1.2
-Translate keys to all languages in one pass to tableview (Check option on UI)
-Cleaned and optimized code (almost on FillTableview with translated keys)
1.1
- Settings Panel added to select:
- Key language
- Path and name of SQlite DB
- Option to load a CSV file/SQlite DB
-Bug fixes
--------------------------
1.0
- Insert key / Delete a key
- Insert language to translate / Delete language
- Load / Save Tableview as CSV ("/" as separator)
- Translate keys to selected language: it uses Google translate API
- Build the SQlite DB in "Localizator format" -> key, lang,value
This app recreates a similar environment of a Excel File in a B4J Tableview:
---------------------------
With this util, you can:
- Insert key (base language i/s English but can be modified changing a global constant in code)
- Delete a key
- Insert language to translate (new column)
- Delete language (column)
- Save Tableview as CSV ("/" as separator but can be modified in code easily)
- Load CSV in tableview (when closing Form, a backup CSV is saved): there's an example CSV on zip
- Translate keys to selected language: it uses Google translate API (in it's free form so no API key is needed but I don't know exactly if it can work forever)
- Build the SQlite DB in "Localizator format" -> key, lang,value
Edit: Attached version 1.2 -- 9/10/2016
ChangeLog:
1.2
-Translate keys to all languages in one pass to tableview (Check option on UI)
-Cleaned and optimized code (almost on FillTableview with translated keys)
1.1
- Settings Panel added to select:
- Key language
- Path and name of SQlite DB
- Option to load a CSV file/SQlite DB
-Bug fixes
--------------------------
1.0
- Insert key / Delete a key
- Insert language to translate / Delete language
- Load / Save Tableview as CSV ("/" as separator)
- Translate keys to selected language: it uses Google translate API
- Build the SQlite DB in "Localizator format" -> key, lang,value
Attachments
Last edited: