Index: openacs-4/packages/acs-lang/www/doc/i18n-design.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/www/doc/i18n-design.adp,v diff -u -N -r1.7.2.4 -r1.7.2.5 --- openacs-4/packages/acs-lang/www/doc/i18n-design.adp 3 Sep 2021 09:15:44 -0000 1.7.2.4 +++ openacs-4/packages/acs-lang/www/doc/i18n-design.adp 13 Jul 2023 12:49:25 -0000 1.7.2.5 @@ -513,19 +513,22 @@ (i.e. do nothing special):
<trn>Hello</trn> -+ + Example 2: Assign the key key hello to the text string Hello and display the translated string in the user's preferred language:
<trn key="hello">Hello</trn> -+ + Example 3: Specify that Bonjour needs to be registered as the French translation for the key hello (in addition to displaying the translation in the user's preferred language):
<trn key="hello" lang="fr">Bonjour</trn> -+ + Example 4: Register the string and display it in the preferred language of the current user. Note that the possible values for the
type
parameter are determined by what has been
@@ -536,10 +539,12 @@
current web page.
<trn key="hello" type="user">Hello</trn> -
Example 5: Translates the string once at template compile time, + +
Example 5: Translates the string once at template compile time, using the effective local of the page.
<trn key="hello" static>Hello</trn> -+ +