Translate an app
In this post I'll explain how to translate an app into your native language
Plz download video tutorial which I've provided above to understand in detailed and then read description in this post
Ok now you get clear idea about how to use it
Also download stringxml translater app from playstore stringsxmltranslator and still you have doubts or errors then read description then you can do it perfectly
Description
If we found any app that does not have our native or favorite language support tgen we feel disappointed...
Now I'll teach how how to add them
Language files are nothing but strings.xml which are located under
res/values/strings.xml
Ok here values tab has strings.xml file are default language of that app... So all strings are present in that...
Values-te,values-ru,values-en,etc...
Are all language files
So except values tab remaining tab has only strings.xml and ut don't have public.xml,color.xml,etc because values tab is default and all strings.xml of other languages are connected to that one so we have to change in language tabs so if our device language is set to particular language then the app makes that app to that language only if there are strings in language tab of your language so that if there is no string in lang tab then it shows the default values tab string...
So in this concept we can change or replace string value and then it shows in our app
We can also delete unnecessary language tabs to decrease size of app
Ok Bro....
Ex: <string name="app_name">te amo</string>
To
<string name="app_name">i love you</string>
So replace the value and it's done....
Plz watch video tutorial and you can understand better about it by using tool to do it fast...
I'll recommend you tool may shows errors
Let me explain
Ok some errors happens by xml transulater....
Like
1)<string name="abc_menu_alt_shortcut_label">Alt +</string>
We need to change "Alt+"
And sometimes
2)<string name="abc_vanan"...
Bla bla
Here string name also transulating using xmlstring translater
3)sometimes
<string name="alert_data_limit_message_warning">Over % 1$ s , or 90 % % of the data alert has been used on % 2 $ s.</string>
Like this space is adding while auto translating using tool
ie %2$s is correct function
4)sometimes the string lines changes and plz make it a same line
5)i highly recommend you not to change all strings.. What ever the strings u want to change copy all and translate using xmlstring translater and place it to value-(language code)
Or u want to make default language then u have to edit the strings.xml which lines that you have to translate...
I hope you understand this if you done any mistakes above mentioned then ๐ฏ %damn sure the app crashes...
Be careful while dealing with strings and some functions also there so we do no change them... They do not visible in app bcz they are commands....
I hope you guys understand๐
Final words
Only change name strings which does not have any functions
Try to do manually...
If u want to use tool then be creative to do
Like
Open notepad and paste default or language strings.xml and cut what ever the strings you want to translate and then paste it to dummy strings.xml and then translate using stringsxmltranslator and after translation cut them and paste it in original strings.xml and your done...
Enjoy....
Comments
Post a Comment