-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I18n support with statically generated class (#145)
* Add i18n support using java property files. Not working yet on ios. Processing of the file content need more work (manual linebreaks not detected yet) and testing. * Add 2 example usages * Add type check * Move resources to common main * Adjust gradle file to include resources in ios * Use Properties instead of loading resource as text * Dont throw if resources not found (for dev) * Add resources from commonMain to android. FOr ios its still not working. several attempts are kept in commented out form... * - fix crash when some mappings are not found/defined & defaulting to english * cleanups * Generate class with all resources based on resource files. Build fails as it seems it does not access the src dir with the generated class correctly. * Use source dir instead of build dir as on iOS there are issues. Split files per language. Add UTF8 support * - removed dead code --------- Co-authored-by: Rodrigo Varela <[email protected]>
- Loading branch information
1 parent
22d3cc6
commit be6bc51
Showing
147 changed files
with
38,545 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.