Jump to content

cgarnier

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. cgarnier

    GTRANS usage

    Hi, I found that the error is caused by the encoding of my gui.h ! It was encoding in ANSI instead of UTF-8, I converted it with notepad ++ and now it's working like a charm ! I just need to carefully convert without filter my fonts so all my UTF-8 characters are supported ! Thanks again for your help !
  2. cgarnier

    GTRANS usage

    Hi, Sorry to bother you with such a topic but usage of GTRANS is quite unclear for me... I understand that every text that I need to translate can be stored in a structure and then use with gtrans methods. My application has 5 pages, and I have to translate each page from one language to another when a button is pressed (a setting for user). All my application has to change and stay in the new current language. It works fine with widgets like buttons and labels using gwinSetText + gtransIndex/gt but if I use the gdispFillStringBox as in the demo, the translation disappear once I leave the current page. So, my question is, do I have to make everything a widget and use gwinSetText + gtransIndex/gt for my language to stay as asked by the user or is there another way to do it that I didn't find/think of? I also have a question about UTF8. My basic language is French, and some vowels need accent. It works well when the application starts, my French words are written correctly, but when I switch to English then back in French with gtrans tool, UTF8 isn't supported anymore and I've got question marks replacing my accentuated vowels... I'm using a custom font that was well converted to support those special letters, any idea where does it come from? Thank's for your help, and do not hesitate to ask for more details if my questions are unclear ! Charlotte
×
×
  • Create New...