- English (
en); - Sinhala (
si); and - Tamil (
ta).
Source files
AppLocalizations classes. Locale is stored locally and
applies at the root MaterialApp.
Add or change copy
- Add the key and metadata to English.
- Add matching keys to Sinhala and Tamil.
- Preserve ICU placeholders, plural/select structure, and variable names.
- Run generation through the normal Flutter build.
- Test the screen in all three locales.
Layout rules
- Expect longer translated text.
- Avoid fixed text heights.
- Make dialogs scrollable with the keyboard open.
- Keep bottom-sheet padding based on
viewPadding.bottom. - Test large display/text settings and TalkBack semantics.
- Use locale-aware
intldates and numbers. - Keep financial figures tabular where the theme specifies it.
Terminology
Some concepts need regional review. For example, “Bidding seettu” has the Sinhala termවෙන්දේසි සීට්ටුව; the correct Tamil wording must be confirmed
with native speakers because usage varies.
