Translation disappearing after changing language code

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeTranslation disappearing after changing language code

This topic has been marked as not resolved.

I have two languages on my site. I translated all content for second language, but now I need to change language code (i.e., from ‘eng’ to ‘en’).

After I changed the language code, my translation disappearing and all page blocks in second language are now having default content.

 rozze
March 27, 2018 at 3:06 pm #63791

Hi,

Language code is used as a key to store language information from Page Builder. You cannot just change it. Can you please restore it and the use this extra CSS to change your switcher:

[lang="en"] .tb_system_language .tb_selected a .tb_text,
.tb_system_language [data-language-code="en-gb"]
{
  overflow: hidden;
  text-indent: -1000em;
}
[lang="en"] .tb_system_language .tb_selected a .tb_text:before,
.tb_system_language [data-language-code="en-gb"]:before
{
  content: 'en';
  text-indent: 0;
}
.tb_system_language [data-language-code="en-gb"]:before {
  float: left;
}

Add these styles from the Theme CP > Theme Settings > Custom > Custom Stylesheet text field.

BR,
ThemeBurn team

March 28, 2018 at 2:11 pm #63802
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.