ItalianBoutiqueShoes Posted July 2, 2014 Share Posted July 2, 2014 Hello, I have a multilanguage site. The name is "Gianluca - The leather craftsman". I see it on all site page meta title and I would like to have it "translated" for the differents languages. For example: english : "Gianluca - The leather craftsman" italian : "Gianluca - L'artigiano del cuoio" french : "Gianluca - L'artisan du cuir" etc... How can I do it? Thanks, Daniele Link to comment Share on other sites More sharing options...
vekia Posted July 2, 2014 Share Posted July 2, 2014 hello under preferences > seo & urls you will see list of pages available in your store you can define there meta titles for each page listed there you can translate meta titles there too Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted July 2, 2014 Author Share Posted July 2, 2014 Hello, yes I know it. The meta title is made from the "meta title defined" there and the "site name". I would like to have translations on site name Link to comment Share on other sites More sharing options...
vekia Posted July 2, 2014 Share Posted July 2, 2014 ohh sorry for misunderstanding unfortunately, at the moment it's not possible to translate shop name but i've got an idea to some workaround follow this guide: remove shop name from title then, instead of code: {assign var=shop_name_to_trim value=" - $shop_name"} <title>{$meta_title|replace:$shop_name_to_trim:''|escape:'htmlall':'UTF-8'}</title> use: {assign var=shop_name_to_trim value=" - $shop_name"} <title>{l s='MyShopName'}{$meta_title|replace:$shop_name_to_trim:''|escape:'htmlall':'UTF-8'}</title> after that you will be able to translate "MyShopName" with localization > translations > front office translations tool! :-) 2 Link to comment Share on other sites More sharing options...
ItalianBoutiqueShoes Posted July 2, 2014 Author Share Posted July 2, 2014 That is great!! I tested it and works great, thanks a lot! Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2014 Share Posted July 3, 2014 That is great!! I tested it and works great, thanks a lot! you're welcome :-) glad to hear that i could help you in this case now it's time to mark this topic as solved with regards, Milos Link to comment Share on other sites More sharing options...
simon_68 Posted January 3, 2015 Share Posted January 3, 2015 Had the same problem, great solution, many thanks! Link to comment Share on other sites More sharing options...
stasinus Posted January 31, 2015 Share Posted January 31, 2015 (edited) Hi Vekia, Your suggestion fixed site name translation only in page titles. However there are a lot of other places where it should be translated. For example - in mail templates. Is there a way to put some "dog-nail" like change $site_name to $this->l('Site name') somewhere in the code so that it will be changed everywhere? Edited January 31, 2015 by stasinus (see edit history) 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