The key principles
The development of globalized software is not a simple task. In general, the standard development process to create globalized software includes the following steps:
Internalization that covers designing and developing web applications
Localization that covers translating and customizing web applications for a specific locale
We will start designing and developing globalized software with the Intl
library from the intl
package available on the pub manager and follow some rules that will help us to easily translate and customize our application.
Executable code versus User Interface
All executable code must be separated from the programming code that implements the User Interface (UI). Also, code that describes the UI elements and the layout of the UI elements must be kept separated from the code that implements and manages them.
Numbers and dates
Various cultures have different ways to represent numbers and dates. You must avoid converting numbers and dates into strings directly...