Gettext for Win32
From Carboogle
Contents |
[edit]
Get the library
- Official website: http://www.gnu.org/software/gettext/
- Mirror: ftp://mirrors.kernel.org/gnu/gettext/
[edit]
Compiling under MinGW
[edit]
Requirements
- First install MinGW
- Compile required library libiconv
[edit]
Compile gettext
Commands to use:
./configure make make install
When compiling gettext 0.16.1, an error occurs:
./localename.c:1145: error: duplicate case value ./localename.c:1144: error: previously used here ./localename.c:1359: error: duplicate case value ./localename.c:1358: error: previously used here ./localename.c:1367: error: duplicate case value ./localename.c:1366: error: previously used here
You just have to open the file localename.c and replace the constant names directly by their corresponding values (0x00, 0x01):
Example:
case /*SUBLANG_BENGALI_INDIA*/0x00: return "bn_IN"; case /*SUBLANG_BENGALI_BANGLADESH*/0x01: return "bn_BD";

