Skip to content

🌐 Add Additional Language Support (Locales & Translations) #7

@suleymansurucu

Description

@suleymansurucu

🎯 Goal

Extend the language support of the Sara Baby app by adding additional widely spoken languages that are currently not supported.
This will make the app more inclusive and accessible to users in regions like Japan, India, Brazil, Indonesia, and more.


📌 Currently Supported Locales

[
  Locale('en', 'US'),
  Locale('tr', 'TR'),
  Locale('de', 'DE'),
  Locale('es', 'ES'),
  Locale('fr', 'FR'),
  Locale('ar', 'SA'),
  Locale('zh', 'CN'),
  Locale('zh', 'TW'),
  Locale('nl', 'NL'),
  Locale('ru', 'RU'),
  Locale('ko', 'KR'),
]

✅ Suggested New Locales

Please consider contributing translations for one or more of the following widely used languages:

Locale('ja', 'JP'),   // Japanese  
Locale('pt', 'PT'),   // Portuguese (Europe)  
Locale('pt', 'BR'),   // Portuguese (Brazil)  
Locale('hi', 'IN'),   // Hindi  
Locale('vi', 'VN'),   // Vietnamese  
Locale('th', 'TH'),   // Thai  
Locale('pl', 'PL'),   // Polish  
Locale('id', 'ID'),   // Indonesian  
Locale('it', 'IT'),   // Italian  

📝 Tasks

  • Create corresponding translation files in assets/translations/
    Example: ja.json, hi.json, pt.json, etc.

  • Use en.json as the base for translations

  • Add each new Locale to the supportedLocales list in main.dart

  • Test each new locale on both Android and iOS devices

  • Ensure proper UI alignment and RTL compatibility (if applicable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions