Description
Open Library i18n is handled via the python Babel library, gettext
, and the message lists located https://github.com/internetarchive/openlibrary/tree/master/openlibrary/i18n
More details here
The codebase has now deprecated code and strings located here: https://github.com/internetarchive/openlibrary/tree/master/openlibrary/plugins/openlibrary/i18n
There are a small number of messages in a few languages, including the following:
es Spanish
hi Hindi
it Italian
kn Kannada
mr Marathi
nl Dutch
Although the original sources are in git, they were maintained as wiki pages in infogami, so the latest versions are at, e.g., https://openlibrary.org/i18n/strings.nl.json, but there are only a couple of dozen strings per language.
This issue is to remove the deprecated i18n code and strings from the codebase, migrating anything that is useful to the current method's messages.po
format.
- Investigate how many already translated strings are still used and could be migrated to an new
<xx>/message.po
file. - Investigate current code and templates that rely on this mechanism and remove.
- Migrate the messages if appropriate
- Remove
strings.<xx>