FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to realize multilang?

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
WasserDragoon



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Thu Jul 31, 2008 11:22 am    Post subject: How to realize multilang? Reply with quote

Hi,
how I could realize multilanguage apps?
Is there any class to read files like:
key=german_word

Thanks,
WasserDragoon.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Thu Jul 31, 2008 11:59 am    Post subject: Reply with quote

You could use glib.KeyFile to phrase a file with key/value pairs.
Back to top
View user's profile Send private message
WasserDragoon



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Thu Jul 31, 2008 12:03 pm    Post subject: Reply with quote

Okay, thanks.
If there is a better way to realize it you can tell me Wink
bye
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Thu Jul 31, 2008 12:31 pm    Post subject: Reply with quote

something like gettext would be nice to have for internationalization.
Back to top
View user's profile Send private message
fschaefer



Joined: 03 Aug 2008
Posts: 4
Location: Germany

PostPosted: Sun Aug 03, 2008 10:38 am    Post subject: Reply with quote

Mike Wey wrote:
something like gettext would be nice to have for internationalization.


You may check out: dskel
We created a simple skeleton that makes use of the common autotools and the GNU D Compiler (GDC).

A list of features that are demonstrated in the skeleton:

  • GNU autotools with D (90%)
  • i18n internationalization support (100%)
  • libtool support (100%)
  • Generating documentation (100%)

The following package shows how to use gettext with the gtkD "PopupMenu" demo: PopupMenu.tar.gz2
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group