Translation ?

Hello,
I have toyed with the idea of translation of the GUI. However, it seems that I was quite naïve in thinking that it would work "just like this" ^^

image
(there, Cyrillic characters do not show)


Nevertheless, I thought that replacing the default font with a font that provided the extra Latin + Cyrillic characters would be fine... guess my naiveness know no bounds :P
image
(here, the ñ from "Español" appear weirdly)


So, I tried to familiarize with how to render other character sets (mainly non-English Latin and Cyrillic), and the answer seemed quite complicated, requiring the use of unicode strings (wide character strings) (http://www.sfml-dev.org/tutorials/1.6/graphics-fonts.php).


I'm mainly confused on how it would be implemented without taking the engine to pieces. Can it be done in a "simple" (without recoding everything) fashion ? Is it worth it ? Thank you for your answers :)

Comments

Sign In or Register to comment.