% ns_set put [ns_conn outputheaders] "content-type" "text/html; charset=iso-8859-1" %> @header@
[ad_locale user locale] ==> @locale@
[ad_locale user language] ==> @language@
[ad_locale_language_name @language@] ==> @language_name@
Test 1
Verify that the message catalog loader ran successfully at server startup.
Word to lookup | Language | Results of catalog lookup |
---|---|---|
English | English | @english@ |
French | French | @french@ |
Spanish | Spanish | @spanish@ |
German | German | @german@ |
Test 2
Verify that the <trn> ADP tag works when the user's preferred language is set to English, French, Spanish, or German.
Test of inline <TRN> adp tags:
Word to lookup | Result when user's preferred language is @language_name@ |
---|---|
English | |
French | |
Spanish | |
German |
Test of inline <TRN> adp tags with STATIC option:
Word to lookup | Result when user's preferred language is @language_name@ |
---|---|
English | |
French | |
Spanish | |
German |
@footer@