v0.8.9 (Bugfixes + translations) released to Google Play!

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.9) from Google, F-Droid, our server, or itch.io

Translation tool

Discussions of the development process of the game.
Post Reply
surgecurrent
Posts: 6
Joined: Fri Sep 07, 2012 1:24 am
android_version: 4.0
Location: Japan

Translation tool

Post by surgecurrent »

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'
You do not have the required permissions to view the files attached to this post.
/*
surgecurrent (destroys electronic devices) <viercc@gmail.com>
*/
sdevaney
Site Admin
Posts: 1177
Joined: Fri Jan 28, 2011 10:17 pm
android_version: 14 - Android 14
Contact:

Re: Translation tool

Post by sdevaney »

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. :)
oskarwiksten
Captain Awesome
Posts: 368
Joined: Sat Jan 29, 2011 8:51 am
android_version: 2.3 - Gingerbread
Location: Stockholm, Sweden

Re: Translation tool

Post by oskarwiksten »

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
/Oskar
Pyrizzle
VIP
Posts: 6435
Joined: Sat Jun 25, 2011 1:00 am
android_version: 6.0 - Marshmallow
Location: Fire Nation HQ

Re: Translation tool

Post by Pyrizzle »

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!

---------------------------------------------------------------------------------------
Post Reply