Page 1 of 1

Translation tool

Posted: Thu Sep 13, 2012 7:39 am
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'

Re: Translation tool

Posted: Thu Sep 13, 2012 3:34 pm
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. :)

Re: Translation tool

Posted: Thu Sep 13, 2012 7:07 pm
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

Re: Translation tool

Posted: Sat Sep 15, 2012 3:47 am
by Pyrizzle
Wow! Amazing idea! Thank you so much!