nabo Posted November 11, 2016 Share Posted November 11, 2016 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" Link to comment Share on other sites More sharing options...
kixe Posted November 11, 2016 Share Posted November 11, 2016 You need to create a function which hooks in LanguageTranslator::getTranslation() to manipulate the result. 2 Link to comment Share on other sites More sharing options...
nabo Posted November 12, 2016 Author Share Posted November 12, 2016 Thanks for the tip, but I was not able to reach my goal. I edited LanguageFunction adding a new condition Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now