l10n packages for KDE 4.1.3 on OpenSolaris
By hajma on Dec 15, 2008
1. make sure the file
/opt/kde-4.1/share/apps/cmake/modules/FindGettext.cmake prefers the GNU msgfmt utility (will be fixed soon, I hope):
--- /opt/kde-4.1/share/apps/cmake/modules/FindGettext.cmake.orig 2008-12-10 13:46:25.207007093 +0100 +++ /opt/kde-4.1/share/apps/cmake/modules/FindGettext.cmake 2008-12-15 10:26:44.956694324 +0100 @@ -94,6 +94,7 @@ FIND_PROGRAM(GETTEXT_MSGMERGE_EXECUTABLE msgmerge) +FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE gmsgfmt) FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt) MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile)2. cd into the spec directory
cd kde4-specs-dev/specs3. set the environment
. /opt/dtbld/bin/env.sh4. build and install the localization package of your choice - in this example spanish:
make build-KDEl10n-esThat's it. The installed language is then ready for use in the Region&Language part of the System configuration tool. All the languages supported by KDE4 are available: Bulgarian, Catalan, Czech, Kashubian, Danish, German, Greek, British English, Esperanto, Spanish, Estonian, Finnish, French, Frisian, Irish, Galician, Hindi, Hungarian, Italian, Japanese, Kazakh, Khmer, Korean, Kurdish, Lithuanian, Latvian, Macedonian, Malayalam, Norwegian Bokmal, Low Saxon, Dutch, Norwegian Nynorsk, Punjabi, Polish, Portuguese, Brazilian portuguese, Russian, Slovenian, Serbian, Simplified Chinese, Swedish, Tamil, Thai, Traditional Chinese, Turkish, Ukrainian and Walloon.