Hi everyone,
I wondered if there was a way I can put accented characters in text strings, because I'd like to translate my project to French (and possibly Spanish as well) when I finish it. Is there a way I can do it?
Thanks in advance!
Hi everyone,
I wondered if there was a way I can put accented characters in text strings, because I'd like to translate my project to French (and possibly Spanish as well) when I finish it. Is there a way I can do it?
Thanks in advance!
Not with the editor alone, I'm afraid, as it only supports the majority of the lower ASCII map. You can use @Saffith 's Tango.zh header, and script them; and my string_constants.zh file (from my expanded string.zh) that has the ASCII characters for all of them as constants, to create upper ASCII map symbols.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
OK thanks I'll try using your string_constants.zh.
You will want to read the thread on Tango.zh: http://www.purezc.net/forums/index.php?showtopic=60030
To use that, you will need to learn at least some basic, and intermediate ZScript. It does take time...
Sadly, even with DrawString(), you can;t make chars above 127; so that necessitates using tilefonts. The constants simply make it easier to work with those values, when constructing a tilefont. Note that when you make a ZScript string, in a code file, ASCII above char 127 will be preserved, but ZC can't do anything with it--we might fix that in a later version. This is how, and where the constants become valuable, as the preserved value is compared to a tile, assigned to its CHAR_* constant for use with Tango.
Most CHAR_* values of 127 and below are legal, but some, have very limited practicality.
http://www.zoriarpg.com/zc/LoE_Userbar.png http://zoriarpg.com/zc/EiyuuUserbar.png
http://www.zoriarpg.com/zc/CIS_Original.pnghttp://www.zoriarpg.com/zc/CIS_II_Userbar.png
Latest ZC 2.53 (Win32) | (Technical Specification | Changelog)
Latest ZC 2.55(Win32) | 2.55 Modules | (Techical Specification | Changelog)
ZC Source Code | ZClaunch Source Code
Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
ZScript & ZC-Related Pastebin | ZC Dev & Builds | ARCHIVED ZC Dev & Builds | YouTube Channel | Quests and ZScript Repository
All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable.
There are currently 1 users browsing this thread. (0 members and 1 guests)