I am trying to understand about the launguage translation. I have got a master file which specifies the title to be in 'French'. Is there a way where i can get the complete data in French. Will DESC_FR do the magic. I tried using this in car file but dont see any change. Am i missing something.
Thanks shruThis message has been edited. Last edited by: Kerry,
769 Excel,PDF and HTML
April 10, 2012, 08:55 AM
njsden
That won't happen automatically. Only TITLE is aware of your SET LANG and TITLE_nn will be automatically chosen.
When it comes to data though, *you* will have to make provisions in your code to make sure you pull the right data field according to the language chosen, WebFOCUS cannot do that for you.
-* Assume language is available via &IBIWF_language (or any parameter of your choice)
TABLE FILE FOO
PRINT
CODE
DESC_&IBIWF_language
END
If you want to get fancy, you may attempt using a global variable (&&) to capture the language, declare that one within your master file and then DEFINE a few virtual fields of your own where you pick the "right" field depending on the language, all of this directly in the master file.