From 9802ebd7ae35cca1d7d29192548fb745881b9135 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 13 Sep 2013 17:51:48 +0100 Subject: [PATCH] tweak - v is lowercase in Jalview --- doc/i18n.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/i18n.html b/doc/i18n.html index 80ce2d0..d2a7420 100644 --- a/doc/i18n.html +++ b/doc/i18n.html @@ -32,13 +32,13 @@
  • Test code in more than one language
  • MessageManager

    -

    The jalview.util.MessageManager class is a wrapper class for the ResourceBundle class. It provides dynamic language/locale support for individual users, and is recommended for all JalView code.

    +

    The jalview.util.MessageManager class is a wrapper class for the ResourceBundle class. It provides dynamic language/locale support for individual users, and is recommended for all Jalview code.

    To use it within your code, you only have to invoke MessageManager with the text key in Messages_xx.properties:

    JButton ok = new JButton(MessageManager.getString("button.ok"));

    This will set JButton text to the one included at button.ok key. In English JButton text will be OK, while in Spanish will be Aceptar. This is the big thing of i18n. :)

    -

    How to translate JalView

    -

    Anyone interested in localizing/translating JalView is strongly encouraged to join the Jalview Development List list. We would recommend that you read this entire page before proceeding.

    -

    If you are planning on working on a JalView translation, please send us an email (Jalview Development List). There may be someone else already working on translating JalView to your target language.

    +

    How to translate Jalview

    +

    Anyone interested in localizing/translating Jalview is strongly encouraged to join the Jalview Development List list. We would recommend that you read this entire page before proceeding.

    +

    If you are planning on working on a Jalview translation, please send us an email (Jalview Development List). There may be someone else already working on translating Jalview to your target language.

    Once you have downloaded the source code (available at http://www.jalview.org/download), you must edit {jalview.home}/resources/lang/Messages_xx.properties, where xx refers to your language country code. If it doesn't exits, rename Messages.properties to Messages_xx.properties.

    Next step...start transtalation!

    Once you have it translated, we would appreciate if you contribute it forwarding the file to Jalview Development List. We will commit it to the code base as soon as possible. Thanks so much for this in advance!

    -- 1.7.10.2