jager Posted March 10, 2012 Share Posted March 10, 2012 Hello everyone, it's possbible make a change so that the carrier name in Back Office is translatable? Now as it is translated only the "delivery time" I have tried to make a change that obviously does not work ... would be too good. In practice I have done as follows: in the portion of code: <label> '. $ this-> l (' Company ').' </ Label> <div class="margin-form"> <input type="text" size="25" name="name" value="'.htmlentities($this-> GetFieldValue ($ obj, 'name'), ENT_COMPAT, 'UTF-8'). '"/ > <sup> * </ sup> <span class="hint" name="help_box"> '. $ this-> l (' Allowed characters: letters, spaces and ').' (). - <span Class="hint-pointer"> </ span> </ span> <p class="clear"> '. $ this-> l (' Displayed During checkout Carrier name ').' <br /> '. $ this-> l (' With a value of 0, the carrier name will be Replaced by the shop name ').' </ p> </ Div> <label> '. $ this-> l (' Logo ').' </ Label> <div class="margin-form"> <input type="file" name="logo" /> <p> '. $ this-> l (' Upload logo from your computer ').' (. Gif,. Jpg,. Jpeg '. $ This-> l (' or ').'. Png) </ p> </ Div> <label> '. $ this-> l (' Transit Time ').' </ Label> <div class="margin-form"> '; foreach ($ this-> _languages ??as $ language) echo ' <div id="delay_'.$language['id_lang'].'" style="display:'.($language['id_lang'] == $this-> _defaultFormLanguage? 'block': 'none'). '; float: left; "> <input type="text" size="41" maxlength="128" name="delay_'.$language['id_lang'].'" value="'.htmlentities($this-> GetFieldValue ($ obj, ' delay ', (int) ($ language [' id_lang '])), ENT_COMPAT,' UTF-8 ').' "/> <sup> * </ sup> </ Div> '; $ This-> displayFlags ($ this-> _languages, $ this-> _defaultFormLanguage, 'delay', 'delay'); echo ' <p style="clear: both"> '. $ this-> l (' Time taken for product delivery; Displayed During checkout ').' </ p> </ Div> Below: <label> '. $ this-> l (' Company ').' </ Label> <div class="margin-form">; I added: <label> '. $ this-> l (' Company ').' </ Label> <div class="margin-form">; foreach ($ this-> _languages ??as $ language) echo ' <div id="delay_'.$language['id_lang'].'" style="display:'.($language['id_lang'] == $this-> _defaultFormLanguage? 'block': 'none'). '; float: left; "> <input type="text" size="41" maxlength="128" name="delay_'.$language['id_lang'].'" value="'.htmlentities($this-> GetFieldValue ($ obj, ' delay ', (int) ($ language [' id_lang '])), ENT_COMPAT,' UTF-8 ').' "/> <sup> * </ sup> </ Div> '; $ This-> displayFlags ($ this-> _languages, $ this-> _defaultFormLanguage, 'delay', 'delay'); echo ' <input type="text" size="25" name="name" value="'.htmlentities($this-> GetFieldValue ($ obj, 'name'), ENT_COMPAT, 'UTF-8'). '"/ > <sup> * </ sup> <span class="hint" name="help_box"> '. $ this-> l (' Allowed characters: letters, spaces and ').' (). - <span Class="hint-pointer"> </ span> </ span> <p class="clear"> '. $ this-> l (' Displayed During checkout Carrier name ').' <br /> '. $ this-> l (' With a value of 0, the carrier name will be Replaced by the shop name ').' </ p> </ Div> <label> '. $ this-> l (' Logo ').' </ Label> <div class="margin-form"> <input type="file" name="logo" /> <p> '. $ this-> l (' Upload logo from your computer ').' (. Gif,. Jpg,. Jpeg '. $ This-> l (' or ').'. Png) </ p> </ Div> <label> '. $ this-> l (' Transit Time ').' </ Label> <div class="margin-form"> '; foreach ($ this-> _languages ??as $ language) echo ' <div id="delay_'.$language['id_lang'].'" style="display:'.($language['id_lang'] == $this-> _defaultFormLanguage? 'block': 'none'). '; float: left; "> <input type="text" size="41" maxlength="128" name="delay_'.$language['id_lang'].'" value="'.htmlentities($this-> GetFieldValue ($ obj, ' delay ', (int) ($ language [' id_lang '])), ENT_COMPAT,' UTF-8 ').' "/> <sup> * </ sup> </ Div> '; $ This-> displayFlags ($ this-> _languages, $ this-> _defaultFormLanguage, 'delay', 'delay'); echo ' <p style="clear: both"> '. $ this-> l (' Time taken for product delivery; Displayed During checkout ').' </ p> </ Div> It would seem obvious that this field should be translated but unfortunately it is not .... Someone can help me? thanks in advance Link to comment Share on other sites More sharing options...
Innar.Hunt Posted October 21, 2012 Share Posted October 21, 2012 Any suggestions how to translate carrier name in Back Office? Link to comment Share on other sites More sharing options...
asmar Posted March 5, 2014 Share Posted March 5, 2014 Did you ever found a solution on this? Link to comment Share on other sites More sharing options...
Sandeep Tiwari Posted May 15, 2015 Share Posted May 15, 2015 have you got the solution ? 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