Jump to content

Recommended Posts

Posted

Hello

is there a way to avoid default language in TRANSLATABLE STRINGS if the value of the language set in frontend is empty?

$this->_("Hello");

If there's no translation in other language I wouldn't see "Hello"

Posted

You need to create a function which hooks in LanguageTranslator::getTranslation() to manipulate the result.

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...