bartbes wrote:Though perhaps it makes sense for the replacements to be translated too?
I've been meaning to, my computer was being a bit dodgy and not letting me add it in the doc, so thanks to whoever put in the
lang/error.missing line!
That gsub thing does look like the right way – I'm a mostly-Python programmer so I'm not as familiar with the Lua idioms yet. I'll make sure it runs fine and push it to the repo. Thanks for the suggestion!
TMX looks like it should be doable. Honestly, I don't like XML, but when I can get to it, it shouldn't be too bad hopefully.
edit: That is, generating a TMX file as output. The tool still works purely off the XLST of the Google Doc for input, and that'd take quite a bit to change up.
As far as a glossary, I'd like to make up a HTML glossary of strings, a simple static page on Github Pages where you can scroll through and see what's available. I'll look into that a little later though in my downtime.
Bozo, for the tab-delimited glossary, I'm not too sure how it'd be structured or how it'd be used – what source and target mean for instance. Just to be used as a glossary for humans to look through?
Mind giving me an example with a few lines and two sections, please? (a few lines from lang/audio each, something like that so I can see how that would be handled)
edit: That gsub change and localising the "Missing translation" message are now done in the Github repo
second edit: I've also been working on a simple little library called
FallbackFonts that lets you load and use several different fonts at the same time. For instance, I'm using it so that I can have the English, CJK, Arabic, Thai, and Hebrew fonts all loaded at the same time, and have the library automatically choose which font to use when I print text. Practically required with all the different languages this thing's supporting
If you're interested or want to see how it works, take a look here in
main.txt, and in the
fbfonts library:
https://github.com/DanielOaks/common-lo ... ve-project
Or you can dig into the Love file here:
https://dl.dropboxusercontent.com/u/478 ... Local.love