Hiba_t
29th January 2007, 10:23
Hi all,

I have a session which is not dynamic. I need to use it in other language than english, so I need to copy its form to the other language. How can I do that in LN6 ?

Thanks in advance,
Hiba

en@frrom
29th January 2007, 11:09
Heya Hitesh,

I unfortunately don't know about LN yet, but in Baan V you do this through session ttadv6201s000 which is called from ttadv3500m000 (Forms) -> Specific -> Copy form to other language

Regards,
Eli Nager

jclju1
29th January 2007, 11:14
Form is not a language dependent component in LN6, so you don't need and you can't copy form to other language. It is possible to copy labels to another language but you don't to do it. LN6 can use english labels in other languages.

Hiba_t
29th January 2007, 11:41
Eli, I know about baanV. I need this in LN6..

jclcu1, I'm NOT using dynamic session.. And when I switch language I can't open this session. What should I do ?

NPRao
29th January 2007, 21:02
Hiba,

In LN, only Integrated & Dynamic Sessions are developed in "2" English language code.

You can then create labels in the other languages, make sure to sync up the label's lengths and widths across the languages.

Copy Labels between Packages (ttadv1240m000)
Use this session to copy labels from one package VRC to another package VRC in the same language.
SSA ERP Tools copies the labels to the current development package VRC. You can specify the package VRC from which you want to copy the labels.


You also have to execute -

Compile Labels (ttadv1243m000)
Use this session to compile and dump the labels for a range of package VRCs.
For each package VRC in your range, SSA ERP Tools creates:
a label dump file <VRC code.lab>, which contains the labels' strings.
a label index file <VRC code.idx>, which is used to locate the correct label string for a session at runtime.
The label dump files and the label index files are located in the directory: $BSE/lib/labels/<package code>/<language code>.<language number>.<version>
At run time, SSA ERP Tools only displays compiled labels.
In a development (English) environment: If you create new labels for a package VRC, you must compile the package VRC's labels so that SSA ERP Tools can display the new labels at run time.
For languages other than English: If you do not translate and import new labels for a package VRC, SSA ERP Tools displays the labels' English versions.
For all languages: If you maintain the existing labels of a package VRC, you must compile the package VRC's labels for your labels' changes to display at run time. If you do not compile the labels, at run time, SSA ERP Tools displays the labels' unmaintained versions.
Note
When you use the Import Language-Dependent Data from XML - Wizard (ttadv8920m000) session to import translated labels into a VRC, SSA ERP Tools automatically compiles the labels. But, if an error occurs during the import process, SSA ERP Tools does not compile the labels, in which case, you can use this session to compile the uncompiled imported labels, without rerunning the SE@ttadv89200m000 session.

Refer to the translation sessions's help in WebTop.

Hiba_t
30th January 2007, 08:47
Can I conclude from your reply that forms for sessions that are NOT dynamic can't be copied to other langauges in LN ?

mbdave
30th January 2007, 12:02
IN LN forms are not language dependent as told to u above,
also only dynamics forms exist in LN no other types of forms are present in LN/
So the things which are not present in LN how can u copy.
Even when u will copy forms which are not dynamic (static forms) in baan4 or baan5 when u copy them to LN enviroment they get converted into dynamic on there own possible with lots of misplaced fields and labels.

Hiba_t
30th January 2007, 12:14
IN LN forms are not language dependent as told to u above,
also only dynamics forms exist in LN no other types of forms are present in LN/
So the things which are not present in LN how can u copy.
Even when u will copy forms which are not dynamic (static forms) in baan4 or baan5 when u copy them to LN enviroment they get converted into dynamic on there own possible with lots of misplaced fields and labels.

I think you're wrong. I imported a dump from Baan5 to LN that contains a non dynamic session, and it wasn't converted to dynamic. It works correctly with no problems on LN although it's not dynamic.

So I do have a form which is static and language dependent in LN, it is in language 2 and I need to copy it to other languages.. Isn't it possible ??

NPRao
31st January 2007, 00:14
Even when u will copy forms which are not dynamic (static forms) in baan4 or baan5 when u copy them to LN enviroment they get converted into dynamic on there own possible with lots of misplaced fields and labels.
Dave, the dynamic conversion does not occur automatically and you have to execute the conversion sessions that I mentioned in my previous posting.

So I do have a form which is static and language dependent in LN, it is in language 2 and I need to copy it to other languages.. Isn't it possible ??
Hiba, I have not tried this but you can test it out with ttadv6265m000.
Also note that, you have to follow the new LN Development Tools guidelines so its better to convert the session/form to dynamic/integrated and just translate the labels.

jclju1
31st January 2007, 10:57
One word is missing in my previous post. Must be "It is possible to copy labels to another language but you don't need to do it" instead of "It is possible to copy labels to another language but you don't to do it". Sorry.