Developer forum

Forum » Integration » Translating BC languages to DW languages

Translating BC languages to DW languages

Michael Knudsen
Reply

Hello forum,

- I'm getting all the units from a on-prem BC (<GetEcomData><tables><Units type="all" /></tables></GetEcomData>), but I'm getting data with BC language like DAN, ENG DEU etc. which somehow should be 'translated' into the DW languages LANG1, LANG2, LANG3 etc. Is there any best practice to handle this?

I can think of the following solutions:
- can be done with a TableScript on both EcomVariantGroups and EcomVariantsOptions
- can be done with 'conditionals' and adding EcomVariantGroups and EcomVariantsOptions for each language + setting LanguageID to a constant

Br. Michael Knudsen


Replies

 
Morten Snedker Dynamicweb Employee
Morten Snedker
Reply
This post has been marked as an answer

Hi Michael,

Both approaches will work. The tablescript will possibly give you fewer jobs, but is much less transparent. Your second suggestion is the common approach, and also the approach I would recommend as it is quite transparent and easily adjustable.

/Snedker

Votes for this answer: 1
 
Michael Knudsen
Reply

Thanks for quick response on this Morten, also happy about the fact, that I didn't had overseen some obvious solution :-)

 

You must be logged in to post in the forum