Closed justinklchan closed 4 years ago
@justinklchan Update: All the UI strings are now in strings.xml
There's still strings in the Java text for example in TipRecyclerViewAdapter.java which populates the recycler view with various text. You'll probably have to scrub through all the Java code.
@justinklchan : yes, next step is that :)
Hi I am working at this moment, putting values-es
Great, thank you @bananateg if you would like other issues to work on, can you email me at jucha@cs.washington.edu? I can add you to our Slack and discuss some bigger features and other things we need help on for this project. Thank you so much for offering your help.
I created a local branch. I put only example Language part At image is how show
@bananateg : Hey thanks for taking this up, just wanted to make sure that we are following the best practices while working on this:
@aakash1313 @bananateg Make the look of this feature adheres to our designs
Press Language I need to open a dialog for select at language?
@bananateg for now just have it as a drop down, we don't need a dialog it looks like @aakash1313 has committed strings.xml for spanish So what we need now is just a drop down that can do the language switching. When you have that, please make a pull request.
@aakash1313 I went through every file manually and moved the remaining strings into the XML file. Can you get the remaining strings I've pulled over translated into Spanish? After that mark this issue as closed.
We don't need an option in the settings.
I realized if you change the language in the System Settings of Android, it switches the language automatically, so we don't need this option in our own app.
@justinklchan : Awesome, thanks justin, yes that is how localization works if you add more strings to it, it will automatically pick up the device locale and do it for you. Will change the remaining strings and close it today :)
I finish the change of language, the user only change te language into te app, te language of device no need change,
I think is better use this and not divide the strings
String text = getString(R.string.welcome_messages, username, mailCount);
@justinklchan : Added the remaining strings, @bananateg : I agree with you, can you please add that change?
@aakash1313 yes, i need to create another local branch or is posible that agregate by create the branch remote
Whichever is easier for you. We can merge it when you have the code pushed.
@justinklchan done, how send my code ?
@bananateg : Can you create a PR out of it and add @justinklchan as an approver?
1) Make sure all strings throughout the code is merged into strings.xml. 2) Organize strings.xml 3) Translate into Spanish 4) Have an option in the Settings to toggle between the languages