Index: openacs-4/packages/acs-core-docs/www/update-translations.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/update-translations.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-core-docs/www/update-translations.adp 8 Nov 2017 09:42:12 -0000 1.3 +++ openacs-4/packages/acs-core-docs/www/update-translations.adp 25 Apr 2018 08:38:28 -0000 1.4 @@ -3,11 +3,11 @@ How to Update the translations -
+ leftLink="releasing-package" leftLabel="Prev" + title="Chapter 16. Releasing +OpenACS" + rightLink="ix01" rightLabel="Next"> +

How to Update the translations

  1. @@ -16,13 +16,11 @@ format [two-letter code for language, lower-case]_[TWO-LETTER CODE FOR COUNTRY, UPPER-CASE], and create a sql command. A example sql command for creating a -locale is:

    -insert into ad_locales 
    +locale is:

    insert into ad_locales 
            (locale, label, language, country, nls_language, nls_territory, 
             nls_charset, mime_charset, default_p, enabled_p)
            values ('fa_IR', 'Farsi (IR)', 'fa', 'IR', 'FARSI', 'IRAN', 'AL24UTFFSS', 
    -        'windows-1256', 't', 'f');
    -

    Put this command into the following four files. For the upgrade + 'windows-1256', 't', 'f');

    Put this command into the following four files. For the upgrade files, the correct file name will depend on the exact version.

    • /packages/acs-lang/sql/postgresql/ad-locales.sql

    • /packages/acs-lang/sql/postgresql/upgrade/upgrade-current-version.sql

    • /packages/acs-lang/sql/oracle/ad-locales.sql

    • /packages/acs-lang/sql/oracle/upgrade/upgrade-current-version.sql

    @@ -36,10 +34,8 @@ usually, /etc/config.tcl and /etc/daemontools/run and modify appropriately. Also, copy over several translation-server-only -files:

    -...TBD
    -          
    -
    +files:

    ...TBD
    +          
  2. Shut down the production site and put up a notice (no procedure on how to do this yet.)

  3. Start the new site, and upgrade it.

  4. Go to ACS Lang admin page and click "Import All Messages"

  5. Resolve conflicts, if any, on the provided page.

  6. Back on the admin page, click the export link. If there are @@ -54,9 +50,9 @@

- \ No newline at end of file + rightLink="ix01" rightLabel="Next" rightTitle="Index" + homeLink="index" homeLabel="Home" + upLink="releasing-openacs" upLabel="Up"> + \ No newline at end of file