Replies: 6 comments 6 replies
-
Hey thanks a lot for the offer! First of all though I'd have to port a few hardcoded strings from the code into the string.xml file. |
Beta Was this translation helpful? Give feedback.
-
@CappielloAntonio, how do you feel about a "language switcher" in Tempo? Normally, Android automatically chooses the appropriate locale for a user, falling back to the default locale. I think it might be handy to have a preference, that enables a user to switch between supported languages. |
Beta Was this translation helpful? Give feedback.
-
Hi @dnno, generally speaking I've always thought that the system language should "command" the language used in the app. Along these lines I would like to give the user not too many options to play with, so a language switcher was not in my priorities. However, one of the changes introduced only recently by the Android new API that I would have liked to explore is the preference of per-app language. I have a vague idea of how to implement this function: it shouldn't be too complicated, but as I said before it wasn't one of my properties. May I ask how did you implement it? How did you retrieve the list of available languages? Does the application require an app restart or is it applied immediately? Anyways, nice job! I'm glad to know that someone other than me is even getting their hands on the code after nearly three years of solitary development. |
Beta Was this translation helpful? Give feedback.
-
Hey @dnno, I'm about to push my work to the language picker from app settings and system settings. Maybe I didn't find the correct documentation, maybe it's the official documentation lacking clarity, but I jumped a bit to get the correct list of supported languages. In your implementation, the list of languages shown to me were those that the system supports (trivially, the list of languages that the keyboard supports in multilanguage). In my case there was Italian and American English, but not German, in your case English and German (which coincidentally are the two really supported languages). To get the real list of languages (which corresponds to the list in the app's system settings) I had to work a bit. Soon I'll put the changes online, tell me what you think! |
Beta Was this translation helpful? Give feedback.
-
Done and made sure it works up to Android API version 26 |
Beta Was this translation helpful? Give feedback.
-
Hey, I'd like to add french localization but I've never done android development before. Apart from creating the |
Beta Was this translation helpful? Give feedback.
-
How do you feel about localizations for Tempo? It's fairly easy to do, provided one knows the corresponding language. I have created a localized german version of Tempo today and I could open a PR for that, if you are interested. I'm sure there are others who could chip in with more languages, making Tempo accessible to a greater userbase.
Beta Was this translation helpful? Give feedback.
All reactions