l10n packages for KDE 4.1.3 on OpenSolaris

Recently I've committed the localization specs for the KDE Project on OpenSolaris. Since they're not a dependency of KDE-consolidation, they will not be built and installed automatically. Here's the short howto for that:

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/specs
3. set the environment
. /opt/dtbld/bin/env.sh
4. build and install the localization package of your choice - in this example spanish:
make build-KDEl10n-es
That'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.
Comments:

Good work! Thanks! It works well for me. Just a note - the "startkde" script strips UTF-8 to encoding from the locale variables to prevent conflict with iiim. This is not required in Indiana, locale works also with UTF-8 encoding.

Posted by Dominik on December 16, 2008 at 12:54 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Members of the EMEA Globalization Center are blogging about the products that comprise the Java Enterprise System stack.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today