Index: openacs-4/packages/acs-core-docs/www/i18n-introduction.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/i18n-introduction.html,v diff -u -r1.18.2.8 -r1.18.2.9 --- openacs-4/packages/acs-core-docs/www/i18n-introduction.html 6 Jan 2017 09:18:41 -0000 1.18.2.8 +++ openacs-4/packages/acs-core-docs/www/i18n-introduction.html 21 Apr 2017 15:07:52 -0000 1.18.2.9 @@ -128,7 +128,7 @@ For each message call in the text, decide on a variable name and replace the procedure call with a variable lookup on the syntax %var_name%. Remember to initialize a tcl variable with the same name on some line above the text.

  • If the text is in a tcl file you must replace variable lookups - (occurences of $var_name or ${var_name}) with %var_name%

  • You are now ready to follow the normal procedure and mark up the text using a + (occurrences of $var_name or ${var_name}) with %var_name%

  • You are now ready to follow the normal procedure and mark up the text using a tempoarary message tag (<#_ text_with_percentage_vars#>) and run the action replace tags with keys in the APM.

  • The variable values in the message are usually fetched with upvar, here is an example from dotlrn: