Best Practice Approach to Internationalization

Different solutions exist for different needs based on all the preceding questions. Here are some good general approaches to use when internationalizing.

Locales

Design the system around a locale. Each locale is a pairing of a country with a language to create a unique identifier. This may provide duplication of language data, but it offers the maximum amount of flexibility and avoids needing to change the code later. For example, Canada would have two locales: Canadian-English and Canadian-French. The US would have one locale: US-English.

Translation Process

Design the entire translation process in advance and write it up. The process should describe how to export, import, and translate the data. Consider ...

Get Growing Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.