Developer forum

Forum » PIM » No longer possible to change default language?

No longer possible to change default language?

Michael Knudsen
Reply

Hello forum,

- I'm working with a new DW9.14.3 and I find it strange that I no longer can change the default language?  Is this per design or a bug?

Br. Michael Knudsen


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi,

Yup, It's per design now (feature).

BR, Oleg QA

 
Michael Knudsen
Reply

Hello Oleg,

- and thanks for quick feedback on this topic. When it's per design now, want is the recommened way to change language in the future?

Currently I have LANG1 = en-GB and LANG2 = da-DK

Br. Michael Knudsen

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Instead if changing the default flag, just change the region and name to what you desire.

We made this change to prevent data issues - because most solutions do not have all things defined in their additional languages - so chaning a second language to defauilt where products, groups and all kind of setup does not exist, will cause bad data. Default language should only change during initial setup and that basically means just changing the regional code...

You can still do it in the database though keeping the above in mind. Also in 9.13 and 9.14 we have changed a lot of code to be more resillient to bad data, so the problem should be smaller.

BR Nicolai

Votes for this answer: 2
 
Tomas Gomez
Reply

Hi,

We started a new solution where the default language ID has to be "ESM" (because it is the ID of an integration to Bussiness Central).

As it is not enable to set the default checkbox, we updated the database with:
Update EcomLanguages set LANGUAGEISDEFAULT = 'Flse' WHERE LANGUAGEID='LANG1'
Update EcomLanguages set LANGUAGEISDEFAULT = 'True' WHERE LANGUAGEID='ESM'

This way the default language is changed in the database (see image1) but it is not changed in the Ecom languages(see image2)

What am I missing? Is there anything else that should be updated?

Regards,
Tomas

 

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply
This post has been marked as an answer

Cache maybe? Either recycle the app pool, or make another change to a language in the UI which I believe also clears the cache. You might also be able to clear it manually under Settings  | Developer | Cache.

Imar

Votes for this answer: 1

 

You must be logged in to post in the forum