https://github.com/Pragament/Android-Open-Lens-OCR-Text-Scanner
🎯 Goal
Enable support for three languages in the Android app:
- English (
en)
- Telugu (
te)
- Hindi (
hi)
📁 Tasks
-
Create string resource files
res/values/strings.xml → English (default)
res/values-te/strings.xml → Telugu
res/values-hi/strings.xml → Hindi
-
Translate UI strings
- Use Google Translate or approved translations for now.
- Maintain consistent meaning across all three languages.
- Focus on major UI elements (button labels, titles, menu items, etc.)
-
Language switching
- add a language switcher in the app using
Locale settings.
- Example: Dropdown or menu to choose the language.
-
Update AndroidManifest.xml
- Ensure
android:configChanges includes locale.
-
Testing
- Change device language in system settings to verify language switching.
- Ensure UI does not break in any language (text overflow, RTL not needed).
💡 Example
English
<resources>
<string name="app_name">My App</string>
<string name="welcome">Welcome</string>
</resources>
<resources>
<string name="app_name">నా యాప్</string>
<string name="welcome">స్వాగతం</string>
</resources>
<resources>
<string name="app_name">मेरा ऐप</string>
<string name="welcome">स्वागत है</string>
</resources>
✅ Deliverables
- Updated project with:
strings.xml in at least 3 languages.
- Screenshots showing the app in each language.
- A short write-up (
README or comment in PR) with:
- Summary of changes made.
- Any issues encountered and how you solved them.
https://github.com/Pragament/Android-Open-Lens-OCR-Text-Scanner
🎯 Goal
Enable support for three languages in the Android app:
en)te)hi)📁 Tasks
Create string resource files
res/values/strings.xml→ English (default)res/values-te/strings.xml→ Telugures/values-hi/strings.xml→ HindiTranslate UI strings
Language switching
Localesettings.Update
AndroidManifest.xmlandroid:configChangesincludeslocale.Testing
💡 Example
English
✅ Deliverables
strings.xmlin at least 3 languages.READMEor comment in PR) with: