Jump to content

(SOLVED) Translation Problems


Recommended Posts

When I click on the different flags at the top right of the website it doesn't translate the website properly.

Example I see the template logo and not the proper logo.

If I click the french flag, the text is not translated to french.

Under the top features the thumbnails are there but there is not description.

What do I have to do to fix this.

If this cannot be fix how do I remove the other two flags from the website.

Thanks.

Link to comment
Share on other sites

You must edit must sure you have provided translations for those languages on the Tools > Translations tab and on the product editor page. If you don't want your website in multiple languages, you can go to the Modules tab and uninstall the "Language block" in the "Blocks" section.

Link to comment
Share on other sites

That's right. PrestaShop comes with translations by default, but if you use third-party modules or modify any of the text in your TPL files, they will not be translated automatically. You must manually translate them. PrestaShop v1.4 has the option to automatically translate using Google Translate.

Link to comment
Share on other sites

If you haven't modified any of your TPL files, then your theme and PrestaShop modules should already be translated into French and Spanish. Most third-party modules don't provide translations, so they will be missing translations. I don't provide translations with my modules, since I don't know French or Spanish.

Link to comment
Share on other sites

I'm English and French and I do see the links are in French but the home page text is not translated to French and the description text for the items does not come across at all, not even the English version. Weird!

Ok Thanks Rocky, I'll suggest to the client that she just goes English.

Joe

Link to comment
Share on other sites

That's right. Content you enter into the editorial module isn't automatically translated. You must manually translate it too.

That's weird that the product descriptions aren't coming across even if in English. I'm not sure what would cause that.

Link to comment
Share on other sites

It make it more difficult to help since you are using a highly customised theme, so I can't assume things work the same way as in the default PrestaShop theme. It looks like the theme creator has modified the language block to include those extra icons. You need to modify themes/Candy-Art3/modules/blocklanguages/blocklanguages.tpl and change lines 24-30 from:

{foreach from=$languages key=k item=language name="languages"}

               {if $language.iso_code != $lang_iso}<a href="{$link->getLanguageLink($language.id_lang, $language.name)}" class="tooltipheader">{$language.name}{/if}
                   <img src="{$img_dir}{$language.id_lang}.jpg" />
               {if $language.iso_code != $lang_iso}{/if}

       {/foreach}



to:

{*{foreach from=$languages key=k item=language name="languages"}

               {if $language.iso_code != $lang_iso}<a href="{$link->getLanguageLink($language.id_lang, $language.name)}" class="tooltipheader">{$language.name}{/if}
                   <img src="{$img_dir}{$language.id_lang}.jpg" />
               {if $language.iso_code != $lang_iso}{/if}

       {/foreach}*}

Link to comment
Share on other sites

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
×
×
  • Create New...