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" ^^
(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
(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
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" ^^
(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
(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
Meanwhile, I ran into some other issues and think that maybe I will shelve this addition for now.
Supporting translations never was a priority for me. But I have done translation support for a work project a few weeks back.