devlogquedulai18n
Devlog #15: i18n in Quedula
Quedula is available in Russian and English. Language selection is in account settings.
We use the standard approach: all strings in localization files, only keys in code. This works reliably and doesn't need explanation, but there are nuances.
One of them: pluralization. Russian pluralization rules are more complex than English. "1 post, 2 posts, 5 posts" — Russian has three different forms. The i18n library must support this; not all do it correctly.
Second nuance: some UI elements are sized differently for different languages. Russian text can be longer than English — you need to make sure the UI doesn't break when switching.