Forum

> > CS2D > General > UTF-8 Translations for CS2D
Forums overviewCS2D overviewGeneral overviewLog in to reply

English UTF-8 Translations for CS2D

16 replies
To the start Previous 1 Next To the start

old UTF-8 Translations for CS2D

DC
Admin Off Offline

Quote
The next version of CS2D will support translations with UTF-8 encoding (thanks to user mafia_man)!

So I would be very grateful for translations of the current language file into new languages which require UTF-8 and which weren't possible because of the restricted encoding before.

Some samples for such languages are Japanese/Chinese/Russian/Arabic

Just make sure that you choose UTF-8 as encoding for the translation file. Either upload it to the file archive or post it here in a more-tag (well, if it works, I'm not sure if it wouldn't be too long)!

old Re: UTF-8 Translations for CS2D

kkkkkkk
User Off Offline

Quote
i'm not sure that's possible to translate it to arabic
because it will appears separed letters
example:
user Ahmad has written
@user sub_zero:
السلام عليكم <thats right
م ك ي ل ع م ا ل س ل ا < wrong

even the arabic translation for minecraft is like that

old Re: UTF-8 Translations for CS2D

mafia_man
User Off Offline

Quote
user kkkkkkk has written
i'm not sure that's possible to translate it to arabic
because it will appears separed letters
example:
user Ahmad has written
@user sub_zero:
السلام عليكم <thats right
م ك ي ل ع م ا ل س ل ا < wrong

even the arabic translation for minecraft is like that

I think it's possible to fix this by using SetScale(-1,1) before every drawtext function in game.

old Re: UTF-8 Translations for CS2D

DC
Admin Off Offline

Quote
Oh, okay. I have no idea about this to be honest. Right, Arabic text is from right to left...
I won't try to fix this though. That's too complex. So better no Arabic translation in that case, sorry

old Re: UTF-8 Translations for CS2D

EndDead
User Off Offline

Quote
Some notes about arabic:
-Letters are connected to each other (Except if there was a space)
-It starts from right to left (English is from left to right)

And the wrong things that happen:
-Letters are not connected (Example: مرحبا <-- Right. م ر ح ب ا <-- Wrong)
-Starts from left to right

So, in the next version.. Will you allow the texts to start from right to left? if so, It can be translated to Arabic.
Well, I'm fine with English..But not the same thing for some.

P.S: "مرحبا" Means "Hello" or "Hi" (Greeting)

old Re: UTF-8 Translations for CS2D

DC
Admin Off Offline

Quote
Sorry, I won't support this as it would require re-coding of many parts of the game. The command which user mafia_man mentioned is used nearly 500 times in CS2D and it's not as simple as he described it because there are also things like alignment and multi color strings etc. The whole logic behind those things would have to be duplicated and changed to work the other way round in case Arabic is used as language.

old Re: UTF-8 Translations for CS2D

EndDead
User Off Offline

Quote
..Its okay for me.
By the way.. There is another way for writing Arabic. Some people created it, and it became famous/used much. its not "Official" tho.
There are letters in English which has the same sound as Arabic when Pronouncing. And there are some missing letters so they are replaced with numbers.. I may work on that later.
Ex. مرحبا = Mar7ba

old Re: UTF-8 Translations for CS2D

TheBosS_
User Off Offline

Quote
user EndDead has written
..Its okay for me.
By the way.. There is another way for writing Arabic. Some people created it, and it became famous/used much. its not "Official" tho.
There are letters in English which has the same sound as Arabic when Pronouncing. And there are some missing letters so they are replaced with numbers.. I may work on that later.
Ex. مرحبا = Mar7ba


I can help you doing it. " If you want "

old Re: UTF-8 Translations for CS2D

IFGTMYPS
User Off Offline

Quote
I made this one with arabic i hope you like it
Spoiler >

P.S: if theres something wrong please fix it

old Re: UTF-8 Translations for CS2D

mafia_man
User Off Offline

Quote
user IFGTMYPS has written
I made this one with arabic i hope you like it
Spoiler >

P.S: if theres something wrong please fix it

I lol'd so hard you posted it in wrong thread.

old Re: UTF-8 Translations for CS2D

DC
Admin Off Offline

Quote
We are talking about translations which need UTF-8 in general. The real point is that this thread is obviously about Counter-Strike 2D. Your translation is not for Counter-Strike 2D and therefore useless in this thread.

old Re: UTF-8 Translations for CS2D

DC
Admin Off Offline

Quote
No, I didn't change anything else. This is just for translations. And this thread is also just for translations. So no OT please.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview