View previous topic :: View next topic |
Author |
Message |
WasserDragoon
Joined: 29 Sep 2007 Posts: 23 Location: Germany
|
Posted: Thu Jul 31, 2008 11:22 am Post subject: How to realize multilang? |
|
|
Hi,
how I could realize multilanguage apps?
Is there any class to read files like:
key=german_word
Thanks,
WasserDragoon. |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Thu Jul 31, 2008 11:59 am Post subject: |
|
|
You could use glib.KeyFile to phrase a file with key/value pairs. |
|
Back to top |
|
|
WasserDragoon
Joined: 29 Sep 2007 Posts: 23 Location: Germany
|
Posted: Thu Jul 31, 2008 12:03 pm Post subject: |
|
|
Okay, thanks.
If there is a better way to realize it you can tell me
bye |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Thu Jul 31, 2008 12:31 pm Post subject: |
|
|
something like gettext would be nice to have for internationalization. |
|
Back to top |
|
|
fschaefer
Joined: 03 Aug 2008 Posts: 4 Location: Germany
|
Posted: Sun Aug 03, 2008 10:38 am Post subject: |
|
|
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 |
|
|
|