Using the CA 2E command Apply Translation to Model (YAPYTRNMDL), you can convert the default model language-specific objects from one language to another. This includes such objects as confirm prompts, function keys, shipped files, and conditions.
Note: Remember, once you convert a model to another national language using YAPYTRNMDL, the default model language is also changed. All subsequent generation will be in the new language.
YAPYTRNMDL does not convert user-modified data. If you use the same model for more than one language, you will need to maintain a set of the following files for each language:
You can change to another language by following the steps below.
To change the language of your created model:
CRTDUPOBJ FROMLIB(YLNGENGSYA) +
FROMLIB(Y2SY) OBJTYPE(*DTAARA) +
TOLIB(*SAME) NEWOBJ(YLNGnnnSYA)
CHGDTAARA DTAARA(Y2SY/YLNGnnnSYA) +
VALUE(Y2SYVnnn)
YAPYTRNMDL MDLLIB(model-library) +
LNG(*nnn)
Note: The YAPYTRNMDL command does not change panel literals defined by Edit Database Relations or Edit Functions such as field names and panel titles. However, you can externalize these to messages for translation.
For more information on the YAPYTRNMDL command, refer to the CA 2E Command Reference Guide.
|
Copyright © 2014 CA.
All rights reserved.
|
|