Blog

One app in Arabic, Kurdish, English and Norwegian

What it takes for a Flutter app to speak two right-to-left and two left-to-right languages.

Teorivei helps people pass the Norwegian driving theory test, and many of them do not read Norwegian yet. So the app runs in Arabic, Kurdish Sorani, English and Norwegian — two right-to-left languages and two left-to-right.

Translation is the easy part

The hard part of a multilingual app is not the translation. It is everything around it: direction, fonts, numbers, dates and text that arrives from the server.

Direction

Flutter mirrors the interface for right-to-left languages on its own — as long as you write start and end instead of left and right. The rule: only write left or right when the side really is fixed and should not change with the language.

A font per language

One font does not do every script justice, so each language gets its own, bundled with the app so it works offline:

  • Plus Jakarta Sans for English and Norwegian.
  • IBM Plex Sans Arabic for Arabic.
  • Vazirmatn for Kurdish, which handles its extra letters well.

Norwegian never disappears

The car theory test can be taken in Arabic or Sorani, but driving lessons, road signs and the road itself are in Norwegian, so understanding a rule in your own language is not enough. That is why I am adding a mode that shows each question in Norwegian and the user's language side by side, so the Norwegian terms become familiar next to their translation.

Terms and sign names

Some terms have no settled translation, especially in Kurdish. Accuracy beats elegance here: a term has to be the same in every question, or the user will think they are two different things.

What I learned

  • Build with start and end from day one; do not postpone right-to-left.
  • Choose fonts by script, not by look alone.
  • Test every screen in all four languages — Kurdish or Norwegian text can be far longer than English.