On the transifex dashboard, click on
Resources to look at the source files.
In the GitHub integration settings (
Integrations), there is a language mapping section that tells Transifex how to convert from the locale conventions it uses to the locale conventions supported by Rails. This will be used by Transifex when raising pull requests to merge new translations into the app.
The current mapping (at the time this was written) looks something like this:
settings:language_mapping:pa: pa_Guru_INmr: mr_INom: om_ETti: ti_ET
On the left are locale codes in the Transifex convention, on the right are locales in the convention that Rails expects. Whenever a new language is added to the app, this mapping table also needs to be updated.
Once a new locale file has been added to the project, it needs to be added to the list of available locales to be accepted by Rails.