[strings] Added Euskara (eu) translations #2335
No reviewers
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
3 participants
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#2335
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "euskara"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I added Euskara (eu) translations on
data/categories.txt
,data/strings/strings.txt
, anddata/strings/types_strings.txt
.I tried to run the
./tools/unix/generate_localizations.sh
script but no files were generated with the Euskara translations. I guess it is because it is a new language.What else do I need to do to add Euskara as a new language?
Many other files should be changed as well.
Is basque language supported in iOS and Android? How to enable it?
For iOS please check this commit organicmaps/organicmaps#912/files
Probably you need to do it via Xcode.. @biodranik can advice the details
For both iOS and android you need to create localization folders for Euskara manually first (e.g.
android/res/values-eu/
).Or run Twine with
--create-folders
options (its run in the bottom of thetools/unix/generate_localizations.sh
script).Yes, it works both on iOS and Android.
For example, here is the Android system language selection:
And here is the iOS app language selection for OsmAnd:
There are several places where new translations should be enabled. But to do it, please add all missing translations into files listed here: https://github.com/organicmaps/organicmaps/blob/master/docs/TRANSLATIONS.md
I added translations on:
data/categories_cuisines.txt
data/strings/sounds.txt
iphone/plist.txt
data/countries_names.txt
Any other file that should be translated?
I checked the files briefly.
Wow, that's a tremendous work, thanks!!
Should start from a capital?
Fixed! Thanks!
A new language should be added into
indexer/categories_holder.hpp
definitely and also folders holding android and ios localization files should be created manually (see my previous posts here).I added eu to
indexer/categories_holder.hpp
and added the iOS and Android localization folders.However, I don’t have access to a macOS machine so I can’t add the language on the Xcode project.
Thanks a lot for your work! I'll enable the language in iOS before the merge.
You made searchable categories (like food, gas, etc.) in categories.txt and strings.txt equal, right?
Can you please also try to download, unzip and install this debug apk to test if your changes are working correctly? https://github.com/organicmaps/organicmaps/suites/6064429391/artifacts/209481843
@ -114,0 +109,4 @@
{"sv", 32},
{"sw", 33},
{"th", 34},
{"tr", 35},
Let's sort them by name. I know, it's annoying, we'll refactor it in the future.
Yes I did make sure that they are the same
Translations seem to be working fine except for the countries/regions names on the download maps section of the app. They are showing in English. Why could this be?
Please create a corresponding eu folder in data/countries-strings/ and run tools/unix/generate_localizations.sh, these folders are not created automatically to avoid the generation of partially translated and not fully enabled languages.
Also create
eu.json
folder indata/sound-strings/
and regenerate translations.@ -114,0 +109,4 @@
{"sv", 32},
{"sw", 33},
{"th", 34},
{"tr", 35},
Done
I've created PR with iOS fixes https://github.com/dvdmrtnz/organicmaps/pull/1
Thank you very much for your contribution! We already started maps generation, so eu lang on the map will not appear in the upcoming update, only in the next one.
Thanks! You guys are making an amazing app! I’m happy to help! 😊