stefandunn Posted February 20, 2014 Share Posted February 20, 2014 How can I add my own translation phrase to the translation module? I want to add a few new fields like "copyright_text", "slogan" which can be edited per language and used as {l s='copyright_text'}. I can't find any documentation on this simple task. Link to comment Share on other sites More sharing options...
tomerg3 Posted February 20, 2014 Share Posted February 20, 2014 If it's in a general tpl file, the line you posted is correct. If it's a module file, it would be {l s='copyright_text' mod='module_name'} Link to comment Share on other sites More sharing options...
stefandunn Posted February 20, 2014 Author Share Posted February 20, 2014 If it's in a general tpl file, the line you posted is correct. If it's a module file, it would be {l s='copyright_text' mod='module_name'} But then where do you declare the different language phrases? Or will this then automaticcaly appear as a fieldset in the Adminstration panel? Link to comment Share on other sites More sharing options...
tomerg3 Posted February 20, 2014 Share Posted February 20, 2014 It will appear in Localization->Translations->front end (or modules) -> click on the desired flag and translate It will appear for translation in Localization->Translations->Front End or Modules -> Click the flag to translate. Link to comment Share on other sites More sharing options...
Recommended Posts