While translating the JavaScript i18n messages, I wrote a small tool that checks the arrays in com.cnprog.i18n.js for completeness, and provides an alphabetically ordered template with all necessary words for new translations.
This way, it is easy to keep track what languages a word has already been translated to, and which ones it hasn't yet.
Screen shot:
It's pure HTML and JavaScript and consists of a .html and a .js file.
At the moment, it needs to reside in the /forum/skins/default/media/js directory, though that is easily changed (just modify the paths in the <script> tags).
This could probably be useful for people translating the messages.
Should it be available as download somewhere? Or should it be part of the project? I'll be happy to push it into the repo, but the js directory is probably not the right place for it.
Being a HTML file, it would need to be below the web root. It would be harmless security wise, as nothing dynamic is being done anywhere.
What do you think?
The files can be downloaded here. Just drop them into the /jsdir and call m/default/media/js/org.askbot.output-words.html to see it in action.
This is a quick and dirty tool right now - the HTML is not valid, has no doctype, and it was not tested outside Firefox 3.6!
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2010-05-07 04:58:51 -0500
Seen: 504 times
Last updated: May 07 '10
How to translate django applications?
What language translations are available in Askbot?
Как перевести слово "аccount" на русский - how to translate word "account" to Russian?
Could you help translate Askbot?
How can I get hold of a translation for a local install?
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.