JEEKSSHIRE 24

Localizing an app or website into several languages, including right-to-left Arabic

Localization adapts an app or website to the language and habits of another audience: not just translating text, but also date, number and currency formats, plural rules, writing direction, images, emails and notifications. To keep localization from turning into a rebuild, the code is prepared in advance: all text moves out of the code into language files, the interface allows for different string lengths, and the layout is mirrored right to left for Arabic. Translation works best with context and review by a fluent speaker, and each language is tested on real screens. Then a new language is added as a set of files rather than a separate project.

Open the software development page

Internationalization and localization: the difference

Internationalization means preparing the product to work in any language: text separate from code, dates and amounts formatted through language settings, layouts that do not break on long words. It is developer work, and it is cheapest to do from day one.

Localization is filling the product for a specific market: translation, terminology review, local formats, images and legal texts. If internationalization is done well, localizing into a new language needs almost no code changes. If not, every new language turns into a hunt for strings hard-coded into screens and fixing broken layouts.

How to prepare code for translation

How text and string length are handled in the mockups is covered in app UI and UX design.

Formats that vary from country to country

WhatWhat changesHow we handle it
Date and timeOrder of day and month, 12- or 24-hour clock, first day of the weekFormatting by the user's language and region
NumbersThousands and decimal separators, sometimes the digits themselvesStandard formatting functions, no manual character swapping
CurrencyThe symbol, its position, the number of decimal placesAmounts stored in one currency and unit, formatted on display
Names and addressesOrder of first and last name, address structureFlexible form fields without rigid templates
Phone numbersCountry code and number lengthStored in international format, with a country picker in the form

Agree on time zones separately: the database stores time in a single format, and users see it in their own zone. Otherwise a booking reminder arrives at the wrong hour.

A right-to-left Arabic interface

For Arabic the interface is mirrored: menus and navigation move to the other side, column order and arrow direction change, and text aligns to the right. On the web this is set through the page's writing direction and logical style properties, start and end of line instead of left and right. In mobile apps the platforms support a mirrored layout as long as screens are built from standard components.

How a mirrored layout and language version markup work on a website is covered in product website development.

The translation process: who, how and with what context

Translation quality depends not only on the translator but on what they can see. The string Open without context could be a button, a status or a menu item, and in other languages those are different words.

  1. Build a glossary: the product name, key terms and what is not translated.
  2. Give the translator context: a screenshot, the role of the string, a length limit.
  3. Machine translation is fine as a draft, but the interface, legal texts and payment texts are reviewed by someone fluent in the language.
  4. New strings are flagged and translated before release, not after users complain.
  5. Tone and the formal or informal way of addressing the user are fixed for each language separately.

Language files are best kept in the repository next to the code and checked automatically: are all keys present in every language, and have any stray ones appeared?

What to localize besides the interface

Choosing and remembering the user's language

On first visit the language is taken from the browser or device settings, but the user must be able to change it easily, and the choice must be saved. Ideally the choice is shared across the website, the web version and the app if they use one account. Store the language on the server in the profile too, so emails and notifications arrive in the same language as the interface.

Do not pick the language by country alone: several languages are spoken in one country, and a person travelling does not want the interface to switch suddenly. On a website each language version should have its own address so that search engines show the right one.

How to test localization

Before launching in a market, every language is checked on real screens, not only in the translation file:

A handy technique is pseudo-localization: strings are automatically lengthened and marked, so you can see where the layout fails before any translation exists. How to fit such checks into the overall testing process is covered in software testing.

How we run multilingual products at JEEKSSHIRE 24

We run our own website in Russian, English, Chinese and Arabic: text is stored separately from code, the language choice is remembered and shared across sections of the site, a fallback language is shown when a translation is missing, and the Arabic version is laid out right to left. We bring the same approach to client projects and build languages into the architecture from day one.

We handle localization as part of mobile apps and web applications, and adding new languages to a product already in use is done under software support. All services are on the page custom software development.

Frequently asked questions

How is localization different from translation?

Translation changes only the text. Localization adapts the whole product: date and currency formats, plurals, writing direction, images, emails and app store pages.

Can a new language be added to an existing app?

Yes. If the text has already been moved out of the code, it is mostly translation and review. If not, the strings have to be extracted and the layout fixed first.

Is machine translation good enough for an interface?

As a draft, yes. The interface, payment texts and legal documents should be reviewed by someone who knows the language well.

What is difficult about an Arabic version?

The interface is mirrored right to left, icons and gestures change direction, a suitable font is needed, and mixed text with Latin characters needs a separate check.

How does an app choose the user's language?

First from the device or browser settings, then from the user's own choice. The choice is saved in the profile so emails arrive in the same language.

Should the app store page be translated?

Ideally, yes. A description and screenshots in the user's language help them understand the product before installing it.

Do all languages have to launch at once?

No. It is enough to prepare the code for several languages and launch each one as you enter new markets.

How much does app localization cost?

It depends on the volume of text, the number of languages, whether there is an Arabic version and how ready the code is for translation. An estimate is given after the task is reviewed.

IP geolocation by DB-IP