Cogmind > Ideas

Language files as XML or similar

(1/1)

Gabriel:
It would be great if the language files were accessible so we could translate then. I'm not sure what programming language or engine you're using, but it's fairly easy to acomplish as far as I'm concerned, just a serializable array of strings or something? Also, does Cogmind support accented characters such as ãóñ? I guess not since it uses a custom font.

Kyzrati:
Yeah, because it's a custom font it's extended ASCII only--no unicode.

I would love it if Cogmind could support translation, but as with many roguelikes, it would be quite a lot of work since sentences are constructed from components which are both ordered and manipulated based on the rules of English grammar, so it's not as easy as replacing a single string for each statment...

While it's true many of the log messages use a simple variable replacement scheme, even assuming the necessary effort was put into enabling translation the game still wouldn't support anything but English letters. More difficult would be the many other sentences (like hacking output, for example) which are hardcoded sentence building functions.

Navigation

[0] Message Index

Go to full version