Merge pull request #5 from hubeny/locale_cs

Locale cs
tree: 36e1049ca684c6a3543686b2bf896192b2cdff33
  1. l10nantext/
  2. locale_cs/
  3. locale_de/
  4. netbeans-l10n-zip/
  5. .gitignore
  6. README.md
README.md

netbeans-l10n

To build your own localization module, use the german module as template. The locale needs to be available below netbeans-l10n-zip/src/.

Steps to build your own localization module:

  • Copy “local_de” and rename it (e. g. “locale_fr”).
  • Change the bundle dir in src/org/apache/netbeans/l10n from de to your locale (e. g. fr).
  • Change module name in src/org/apache/netbeans/l10n/Bundle.properties to your locale (e. g. French).
  • In file manifest.mf change
    • line OpenIDE-Module: org.apache.netbeans.l10n.de to your locale (e. g. org.apache.netbeans.l10n.fr)
    • line OpenIDE-Module-Localizing-Bundle: org/apache/netbeans/l10n/de/Bundle.properties to your locale (org/apache/netbeans/l10n/fr/Bundle.properties)
  • In file build.xml change
    • line <project name="org.apache.netbeans.l10n.de" default="netbeans" basedir="."> to your locale
    • line <description>Builds, tests, and runs the project org.apache.netbeans.l10n.de.</description> to your locale
    • line <property name="locale" value="de"/> to your locale
  • In file nbproject/build-impl.xml
    • Adapt line <project name="org.apache.netbeans.l10n.de-impl" basedir="..">
    • Adapt line <code-name-base>org.apache.netbeans.l10n.de</code-name-base>

Build l10nantext before building the locale.