I wrote a resource editor for translation which modifies translatable fields only.
I did this by modding Andor's Trail Translation validator.
(I think this is so ad-hoc compared to the ideas recently discussing (use external website or convert from PO file), but it will ease my own work at least.)
To test this, you will need a full clone of andors-trail source repository and a web server
(like apache) which allows access to your repository.
Webserver is neccesary. This editor uses XMLHttpRequest and most browsers can't access local files through XMLHttpRequest from security reason.
To install, simply overwrite unzipped files in anodrs-trail/AndorsTrailEdit.
After install, go to
http://<your-server>/<your-repository>/AndorsTrailEdit/translations2.html
on your browser.
Current issue:
* Can't translate 'strings.xml'
* Not Tested Well
Only tested in my environment.
(Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:15.0) Gecko/20100101 Firefox/15.0.1)
* Rough-cutting interface
* Messages in dialog boxes may be funny
I'm not a native speaker. if you find strange, ask here.
* Slow a bit
* More appropriate name. So bad 'translations2.html'
We have a new Beta: v0.8.13 ("Troubling Times") !
Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.12.1) from Google, F-Droid, our server, or itch.io
Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.12.1) from Google, F-Droid, our server, or itch.io
Translation tool
-
- Posts: 6
- Joined: Fri Sep 07, 2012 1:24 am
- android_version: 4.0
- Location: Japan
Translation tool
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 1187
- Joined: Fri Jan 28, 2011 10:17 pm
- android_version: 14 - Android 14
- Contact:
Re: Translation tool
That adds some great functionality to the tool. We are looking into moving into the standardized PO files but this will be a great help in the mean time. Thanks a lot surgecurrent. I will look over the code more thoroughly soon but after a brief skim through it really isn't as bad as you make it sound. 

-
- Captain Awesome
- Posts: 368
- Joined: Sat Jan 29, 2011 8:51 am
- android_version: 2.3 - Gingerbread
- Location: Stockholm, Sweden
Re: Translation tool
Wow, that's awesome! Really nice work, surgecurrent!
I'm merging this to master right away. This will be really helpful for other translators.
Excellent work!
/Oskar
I'm merging this to master right away. This will be really helpful for other translators.
Excellent work!
/Oskar
/Oskar
-
- VIP
- Posts: 6435
- Joined: Sat Jun 25, 2011 1:00 am
- android_version: 6.0 - Marshmallow
- Location: Fire Nation HQ
Re: Translation tool
Wow! Amazing idea! Thank you so much!
---------------------------------------------------------------------------------------
Player Name:Pyro
Lvl:24XP:244KAP:2/10HP:80AC: 189%AD:13-21CHS:-6CM: 0BC: 20%DR:2
IF:2Reg:2FSDW:1
May Elythara bless you and light your path!
---------------------------------------------------------------------------------------
Player Name:Pyro
Lvl:24XP:244KAP:2/10HP:80AC: 189%AD:13-21CHS:-6CM: 0BC: 20%DR:2
IF:2Reg:2FSDW:1
May Elythara bless you and light your path!
---------------------------------------------------------------------------------------