Jump to content

Recommended Posts

Posted

I'm making some tests with translation in the admin. Tried to concatenate this strings, but it doesn't work? Example:

$form->description = __("Translate ", __FILE__) . basename($file, '.module') . __(" to ", __FILE__) . $this->language->title;

Only get the first phrase as translatable field. Can anyone explain this?

Posted

hmm, just another question. What recommended here? Both are doing it.

"\n\t\t<label for='selected_image_description'>{$this->_('Description')}</label>" . 

or this

"\n\t\t<label for='selected_image_description'>" . $this->_('Description') . "</label>" . 

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...