Remove All Ads from XDA

[WEBTOOL][RESOURCES] Strings.xml Builder and Translator [OPENSOURCE]

423 posts
Thanks Meter: 800
Post Reply Email Thread
What is?
StringsXmlBuilder is a web tool that allows anyone to easily translate the resources of your app.

I'm new to the world of Android applications and after a few months after published my first app (SlimSocial for Facebook) I started to have the need to get help to translate my app but I realized that it is not easy and the hand of all, translate an app with a notepad, especially if it contains a lot of strings.
So I tought: why don't create a web tool to make the translation of strings.xml files more handy and faster?

I had never done anything in php, so this could be an occasion to use it and study it (sorry if the code is not optimized or contains stupid things ). It works well, now it is a BETA and I want to see if you can find it usefull.

Some features:
- Already translate all strings, you just have to make sure it is correct.
- Possibility to translate starting from already translated file (useful to update translation)
- Don't translate the strings with translatable="false"
- Maintains the order.
- The apostrophes are written with the \ before.
- Writes only translated strings.

The code is fully published on my GITHUB. Improvement and advice are much appreciated


How can I use it?
1. Upload your strings.xml on github or in other cloud
2. Get the url of the xml file (on github you can get it using the ROW button) (you need => this)
3. Paste the url and the desidered language on StringsXmlBuilder form
4. Now you just have to check and fix the strings wrong

How can I use it more quickly?
Some developers put in thier app the possibility to translate leading directly to the xml file: it's unlikely that any novice user knows how to do it.
With StringsXmlBuilder you can prepare the translation so who translate can immediately translate spending less time.

You can easly build your app translation link:
- To allow people to choose the language:
- To prepare the builder for a generic translation (with all fields empty, without automatic translations):
- To prepare the builder for a specific language (with all fields empty):

Give me a feedback!
Improve my code on GitHub

Don't forget the THANKS
The Following 5 Users Say Thank You to rignaneseleo For This Useful Post: [ View ] Gift rignaneseleo Ad-Free
5th May 2016, 09:52 PM |#5  
SaschaHa's Avatar
Senior Member
Thanks Meter: 1,782
Awesome tool, I just tried it and it works like a charme I will use it 4 my next projects

Many thanks!!
The Following User Says Thank You to SaschaHa For This Useful Post: [ View ] Gift SaschaHa Ad-Free
8th May 2016, 02:44 PM |#7  
rignaneseleo's Avatar
OP Senior Member
Flag Bologna
Thanks Meter: 800
Donate to Me
From now, you can translate a strings.xml starting from an old one.
It is usefull for translating long files (that require many days) and also for who has only to update a translation.

19th May 2016, 05:40 PM |#8  
Senior Member
Flag Ha Noi
Thanks Meter: 213
Good tools

Gửi từ EVA-AL00 của tôi bằng cách sử dụng Tapatalk
19th May 2016, 08:25 PM |#9  
rignaneseleo's Avatar
OP Senior Member
Flag Bologna
Thanks Meter: 800
Donate to Me
Originally Posted by 29y6145

Good tools

Gửi từ EVA-AL00 của tôi bằng cách sử dụng Tapatalk

Thank you !
6th June 2016, 05:50 PM |#10  
Junior Member
Thanks Meter: 7
Good job. This tool is very helpful in translating
Post Reply Subscribe to Thread

php, strings, strings.xml, tool, translations

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes