Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalize tool #19

Open
pslh opened this issue Sep 7, 2016 · 1 comment
Open

Internationalize tool #19

pslh opened this issue Sep 7, 2016 · 1 comment

Comments

@pslh
Copy link
Member

pslh commented Sep 7, 2016

It would be very useful to be able to use the tool in the native language of the user and to be able to select the language of choice for the user interface, while at the same time producing sql and csv files which are language neutral (except for free text notes).

It is important to note that currently, many of the displayed strings are stored in the SQLite database and not in the Java code or strings.xml files. We must extract these strings from the DB into I18N ready files and update the code to retrieve the translated string rather than using DB lookups. This is probably quite a large body of work.

@pslh
Copy link
Member Author

pslh commented Apr 5, 2018

The approach taken by Corporacion OSSO to switch DBs based on language makes a lot of sense, but has the downside that the user loses access to any information stored in the English language DB. I think this is an acceptable limitation for now, but this is clearly not ideal.

Alternatives include:

  • separating the read-only, language-specific database from the user-supplied data (which should now be considered language neutral);
  • adding a language specific column to the lookup tables, one for each supported language
  • extracting all translatable text from the DB into I18N files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant