bart81 Posted August 27, 2013 Share Posted August 27, 2013 When I go into the backoffice and go to customers->addresses->edit selected address: I want to edit translation for "address (2)". I searched for the translation in localization->translation->all avaiable sections + all files in the "lang" folder,but I can't seem to find this specific one. Some help would be greatly appreciated Thanks in advance! Kind regards Bart Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2013 Share Posted August 27, 2013 the question is.. you can change it in back office or in front end? in font office it is a part of authentication.tpl file (front office translations) here is the code from .tpl file <p class="text"> <label for="address2">{l s='Address (Line 2)'}</label> <input type="text" class="text" name="address2" id="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{/if}" /> <span class="inline-infos">{l s='Apartment, suite, unit, building, floor, etc...'}</span> </p> Link to comment Share on other sites More sharing options...
bart81 Posted August 27, 2013 Author Share Posted August 27, 2013 Hi Vekia, Thanks for the fast answer, in the front end it was easy (through localization->translation in the backoffice), but in the backoffice I don't seem to be able to find the translation for it. Is there a .tpl file for this so I can hardcode it?(maybe that is a solution?). If yes, where can I find it? Thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted August 27, 2013 Share Posted August 27, 2013 but the question is: what part of back office you want to translate? there are several places where this fieldname appears (it will be a little hard) Link to comment Share on other sites More sharing options...
bart81 Posted August 27, 2013 Author Share Posted August 27, 2013 Hi Vekia, Thanks again, this is where I want to edit the translation (see screenshot) Thanks in advance Bart Link to comment Share on other sites More sharing options...
bart81 Posted August 27, 2013 Author Share Posted August 27, 2013 aha found it in AdminAddressesController.php, the problem was that in all translations it uses the string "address (2)", except on this page in the back office it only uses the string "address" and the (2) is hardcoded in the php file. Hardcoded my translation in there Too bad the translations are managed differently between bo and front, fix for next version? SOLVED 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