DRL > Requests For Features
DoomRL on different languages
you:
Can help with Russian.
thelaptop:
Good grassroots work everyone, but this will need Kornel to first stringify Valkyrie so that we can do the internationalisation efforts. I think I might have talked to him about this before, and maybe he might implement it.
But it's not going to be that soon though, so everyone, hold on to your hats! =)
Klear:
I figured this would be the case. Whenever translations become possible and if I'm still around, I'll be glad to help.
Kornel Kisielewicz:
There are actually two separate problems here. First is the character map -- even if using UTF, I need the character map to fit into a single texture. While this won't be a problem in 80-90% cases, it might prove difficult for (e.g) Mandarin Chinese. That also means that the engine will have to operate on two string types -- internal ASCII strings for handling lua, xml etc, and UTF for handling displayed messages and text. I only barely know how to handle UTF in pascal, and even less how to make Lua play along.
The latter can be very easy or extremely hard depending on the language in question -- many messages in DoomRL are constructed on the fly (The former human uses a large medpack! The former human looks healthier!) -- those require at least some basic grammar rules, and I know that (for example) translating that sentence to non-broken Polish would take a lot of work including implementation of full declination tables...
So... hints?
RSO:
--- Quote ---The latter can be very easy or extremely hard depending on the language in question -- many messages in DoomRL are constructed on the fly (The former human uses a large medpack! The former human looks healthier!) -- those require at least some basic grammar rules, and I know that (for example) translating that sentence to non-broken Polish would take a lot of work including implementation of full declination tables...
--- End quote ---
I'm probably misunderstanding the problem, but I don't think you'd need to code anything for grammar - just use replaceable tokens. "The %unit% uses a %item%". For languages with different word orders, the tokens would just need to be placed in a different order in the template string.
...Though I can see how things like a/an (in English) or noun-verb gender agreement in certain languages could still cause problems.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version