Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
i18n Support #202287
04/14/08 09:22
04/14/08 09:22
Joined: Mar 2005
Posts: 8
P
pingu Offline OP
Newbie
pingu  Offline OP
Newbie
P

Joined: Mar 2005
Posts: 8
Hi,

is there something like i18n (eg gettext) support in 3dgs? Or some other way to keep translations appart from the code?
I searched the forum but I did not find any information about this topic.

I'd be graceful for any hint,

Pingu

Re: i18n Support [Re: pingu] #202340
04/14/08 14:48
04/14/08 14:48
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Not natively. I am doing this by defining header files which contain all the strings that need to be translated. E.g.

 Code:
#ifndef _DE_de_
#define _DE_de_

const char* rsMyErrorMessage = "I am a localized error message.";

#endif



Always learn from history, to be sure you make the same mistakes again...

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1