Replies: 3 comments
-
Interesting, we could always load a different .csv based on the app's locale. The only issue is that Sushi caching would probably break, so we'd need to build our own solution. I'm not sure that I have the time to translate the data myself, but if anyone would like to support me with that they're more than welcome. If someone puts in that effort, I'll happy to tweak the package to support these translations. I'll leave this issue open for further discussion and collaboration 👍 |
Beta Was this translation helpful? Give feedback.
-
For countries and continents we can use CLDR (Common Locale Data Repository) data: |
Beta Was this translation helpful? Give feedback.
-
I will use the CLDR then to start extracting the languages. I will probably write a tool for it. |
Beta Was this translation helpful? Give feedback.
-
Do you want translations for countries and capital cities?
I would use a translator API (Probably Google Translator) to translate them into different languages.
The translations would be available in a .json file. These files could be published to the user or could be loaded directly in the ServiceProvider.
Beta Was this translation helpful? Give feedback.
All reactions