Base solution for your next web application
Open Closed

Localization Sources Issue #4471


User avatar
0
ajayak created

Hi,

I have added Swedish language as:

new ApplicationLanguage(tenantId, "se", "Svenska", "famfamfam-flags se")

{translationfile}-se.xml:

<?xml version="1.0" encoding="utf-8" ?>
<localizationDictionary culture="se">
  <texts>
    <text name="HomePage" value="Startseite" />
    ....More translations
    </texts>
</localizationDictionary>

On the frontend, I can see the new language and the flag but on selecting the new language, instead of the Swedish language translations, I see English translations.


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ajayak, is your xml file marked as embedded resource ?

  • User Avatar
    0
    ajayak created

    Thanks @ismcagdas. I was missing that step :)

  • User Avatar
    0
    ismcagdas created
    Support Team

    Glad that it worked :)