mel47 Posted April 1, 2018 Share Posted April 1, 2018 Hi Does someone see problem with those translation? Only the first ones (évenement and partenaires) are picked up by the translation file. $out .= "<p class='column border'>". __('Évenement') . "<br />" . __('présenté par') . "</p>"; $out .= "<p class='column border'>". __('Partenaires') . "<br />" . __('majeurs') . "</p>"; Thanks Link to comment Share on other sites More sharing options...
tpr Posted April 1, 2018 Share Posted April 1, 2018 Use only one translation per line. 1 1 Link to comment Share on other sites More sharing options...
mel47 Posted April 1, 2018 Author Share Posted April 1, 2018 Ah, didn't know that. Many weeks to don't understand what happens... Thanks! Link to comment Share on other sites More sharing options...
kongondo Posted April 1, 2018 Share Posted April 1, 2018 1 hour ago, tpr said: Use only one translation per line. Yep. 1 hour ago, mel47 said: Ah, didn't know that. Many weeks to don't understand what happens... Thanks! Here's the relevant section. http://processwire.com/api/multi-language-support/code-i18n/#translation-function-calls-must-be-on-one-line-and-in-one-pair-of-quotes 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