OpenSolaris

  subsites   code review   repo   packages   bugs   defect   polls   planet
You are not signed in. Sign in or register.
HA Clusters Quick Links
Download
Download the latest Open High Availability Cluster source
Participate
Join the OpenSolaris HA Clusters discussions
Contribute
Contribute to Open High Availability Cluster
Translation for this page

README.ohac.g11n v1.0 03 Jun 2008

OPENHACLUSTER G11N WORKSPACE BUILDABLE SOURCE

Open High Availability Cluster Globalization buildable source. Consists of messages as well as codes pertaining to localization.

  • The contents of the tarball ohac-g11n-YYYYMMDD.tar.bz2 includes:
    • Translations of Open HA Cluster core message files
    • Makefile and related files for build message packages

    More notes on the files in tarball

    • Translation file formats are .po, properties, java and html.
    • Languages and encodings are as follows
    • LanguageShort_nameEncoding
      Germande8859-1
      Spanishes8859-1
      Frenchfr8859-1
      JapanesejaeucJP
      Koreankoko_KR.euc
      Simplified Chinesezhzh_CN.euc
      Traditional Chinesezh_CNzh_TW.euc

    • Some files are not fully translated for corresponding source (English) files, but translation of subset. The number of translated messages are different between languages.

  • Needed tools
  • You will need to have the following installed in order to build the files on Solaris. To install all these tools and components please select 'Developer System Support' and corresponding seven language areas in Solaris installation.

    • /usr/ccs/bin/make
    • /usr/bin/msgfmt
    • /bin/pkgmk
    • /usr/perl5/bin/perl
    • javac above version 1.3.x
    • OS locales

    OS locales are needed by message compilers which needs to run on the each locale for .po files. Essentially, only codeset is significant so it's possible to generate .mo in different locale but with same codeset.

    All seven locales, German, Spanish, French, Japanese, Korean, Simplified Chinese and Traditional Chinese are needed for build. When you added your own language or locale cluster message, that locale will be also needed on the system.

    • iconv modules between each source encoding and target binary encodings(e.g. UTF-8, GB18030, Big5...)
    • other misc tools like grep, sed, etc.
    • This list can grow when more contents become available in the future.
    • C/C++ compilers are not used.

  • Build and install instruction
    1. How to extract the tarball
      • $ cd [your_directory]
      • $ bzcat ohac-g11n-YYYYMMDD.tar.bz2 | tar xvf -
        (directory "ohac-g11n" will be created)

    2. How to build entire source tree
      • Go to [your_directory]/ohac-g11n
      • Run build_ohac-g11n.sh script after giving permission
      • Created compiled files and packages are in [your_directory]/proto and [your_directory]/package respectively.

    3. How to install built packages
      • Use pkgadd command with root or alternate user account to install packages on your system.
      • # pkgadd -d $PKGROOT

  • Package name convention
  • Each language packages have specific name as below.
    LanguageName convention
    German SUNWd*
    French SUNWf*
    Spanish SUNWe*
    Japanese SUNWj*
    Korean SUNWk*
    Simplified Chinese SUNWc*
    Traditional Chinese SUNWh*

  • Bug/RFE subcategories
    • To report a bug or an RFE, please use the following web interface:
    • https://www.opensolaris.org/bug/report.jspa
    • Translation bugs of Open HA Cluster are filed in l10n subcategory in corresponding Open HA Cluster bug category. The category of Open HA Cluster bug is suncluster.