Jump to content
Sign in to follow this  
nark0t1k

Using Special Char in hint / titleText / ...

Recommended Posts

Hi all

I recently get a problem with hint and doesn't understand why

I try to display special char like: é,è,à,ê,ë

I make some test in a "test mission" with debug consol

hint parseText "La bombe à été désamorcé! Bravo";
show
"La bombe à été désamorcé! Bravo"
Work well

But if i put it in a script fn_scriptTest.sqf

I got some missing char
Show
"La bombe    t  d samorc ! Bravo"

Anybody have idea why that work in debug consol but not in script?

Thanks for you time, sorry for my english.

Share this post


Link to post
Share on other sites

Apologies for Google Translate.

 

init field of your bomb:

this addAction [localize "STR_NARK_BOMB_ACT_LABEL", "bomb.sqf"];

bomb.sqf:

hint parseText localize "STR_NARK_BOMB_DEFUSED";

stringTable.xml in your mission folder:

<?xml version="1.0" encoding="UTF-8"?>
<Key ID="STR_NARK_BOMB_ACT_LABEL">
	<Original>Désamorcer la bombe</Original>
	<English>Defuse Bomb</English>
	<Czech>Zneškodnit Bombu</Czech>
	<French>Désamorcer la bombe</French>
	<Spanish>Desactivar la bomba</Spanish>
	<Italian>Disinnescare Bomb</Italian>
	<Polish>Rozbroić Bombę</Polish>
	<Portuguese>Desarmar Bomba</Portuguese>
	<Russian>обезвредить бомбу</Russian>
	<German>Entschärfen Bomb</German>
</Key>
<Key ID="STR_NARK_BOMB_DEFUSED">
	<Original>La bombe à été désamorcé! Bravo</Original>
	<English>The bomb was defused! Bravo</English>
	<Czech>Bomba byla zneškodněna! bravo</Czech>
	<French>La bombe à été désamorcé! Bravo</French>
	<Spanish>La bomba fue desactivada! ¡bravo</Spanish>
	<Italian>La bomba è stata disinnescata! bravo</Italian>
	<Polish>Bomba została rozbrojona! brawo</Polish>
	<Portuguese>A bomba foi desarmada! bravo</Portuguese>
	<Russian>Бомба была обезврежена! браво</Russian>
	<German>Die Bombe wurde entschärft! bravo</German>
</Key>
  • Like 1

Share this post


Link to post
Share on other sites

@Kyliana

Thanks for you reply

Unfortunatly that not google translate ... xD

Know how work Stringable but doesn't realise that make special char working

Most of time don't use it because think that make for multi langage support

I test it, and it's work well

Lot of work to convert all my string with localize stringable system ^^

Solved !

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×