Forum Discussion

vinaykumarcg's avatar
vinaykumarcg
Copper Contributor
Jan 13, 2020

MS Teams generating wrong language code when installed in Swedish or Norwegian

MS Teams generates "Desktop-config.jason" file at "%appdata%\Microsoft\Teams" where it writes its settings to control the behavior of itself. There is an entry in this file for language to be used. Format for language is "Language code-country code". For example for English language and for US, the language code would be "en-us". Problem is when MS Teams is installed in Swedish or Norwegian, it is generating wrong language code. It should generate "sv-se" for Swedish and "nb-no" for Norwegian but it is generating "sv" for Swedish and "nb" for Norwegian. Kindly help us with this issue as we are not able to address this so far. A quick response would be appreciated.

4 Replies

    • vinaykumarcg's avatar
      vinaykumarcg
      Copper Contributor

      Hi LinusCansby 

       

      My Application is not working correctly because of this. My application translates MS Teams' Swedish status strings into English OR Norwegian status strings into English based on this language code received from MS Teams. My application is tightly coupled with this language code.   

      • LinusCansby's avatar
        LinusCansby
        MVP
        When I switch from English to Swedish in my Teams client the value for currentWebLanguage is set to "sv-se" in he desktop-config.json file. I tested on two computers.

Resources