Jump to content

Prestashop 1.7 translations exist but does not show up in the BO


Recommended Posts

I have troubles with translating my 3-rd party theme. Basically, I have a bunch of translations inside my 3-d party theme, but I want to translate all of the strings from the ShopThemeCustomeraccount default file.  When I try to export translation files of my theme I got in the 

ShopThemeCustomeraccount.uk-UA.xlf

file, but only with 2 translation phrases. When I try to add more, for example something like 

<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
  <file original="themes/theme_melani4/modules/ps_customeraccountlinks/ps_customeraccountlinks.tpl" source-language="uk-UA" target-language="uk-UA" datatype="plaintext">
    <body>
      <trans-unit id="f2fc7490cbdb0db5cd6f1a4e7edb0da1">
        <source>Your account</source>
        <target>Ваш профіль</target>
        <note>Context:
File: themes/theme_melani4/modules/ps_customeraccountlinks/ps_customeraccountlinks.tpl:4</note>
      </trans-unit>
    </body>
  </file>
  <file original="themes/theme_melani4/modules/ps_customersignin/ps_customersignin.tpl" source-language="uk-UA" target-language="uk-UA" datatype="plaintext">
    <body>
      <trans-unit id="d4151a9a3959bdd43690735737034f27">
        <source>Log in to your customer account</source>
        <target>Увійти до Вашого профілю клієнта</target>
        <note>Context:
File: themes/theme_melani4/modules/ps_customersignin/ps_customersignin.tpl:24</note>
      </trans-unit>
    </body>
  </file>
  <file original="themes/theme_melani4/templates/customer/my-account.tpl" source-language="en" target-language="uk" datatype="plaintext">
      <body>
        <trans-unit id="a82868319826fb092b73968e661b5b38">
          <source>Vouchers</source>
          <target xml:lang="uk">Ваучери:</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:66</note>
        </trans-unit>
        <trans-unit id="e06d7593c1cd6dabef450be6c3da7091">
          <source>Merchandise returns</source>
          <target xml:lang="uk">Повернення</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:72</note>
        </trans-unit>
        <trans-unit id="d1a365ea7809ae5831c6d9f86886630c">
          <source>Credit slips</source>
          <target xml:lang="uk">Рахунки</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:60</note>
        </trans-unit>
        <trans-unit id="a82be0f551b8708bc08eb33cd9ded0cf">
          <source>Information</source>
          <target xml:lang="uk">Інформація</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:49</note>
        </trans-unit>
        <trans-unit id="284b47b0bb63ae2df3b29f0e691d6fcf">
          <source>Addresses</source>
          <target xml:lang="uk">Адреси</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:40</note>
        </trans-unit>
        <trans-unit id="da4791bc9700aca963b560fcb7db0605">
          <source>Add first address</source>
          <target xml:lang="uk">Додайте свою першу адресу</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:44</note>
        </trans-unit>
        <trans-unit id="cea4dedd9147586b361b90e900944690">
          <source>Order history and details</source>
          <target xml:lang="uk">Історія і деталі моїх замовлень</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:54</note>
        </trans-unit>
        <trans-unit id="999fe77c512638fd1b2ff18646d24781">
          <source>Welcome to your account. Here you can manage all of your personal information and orders.</source>
          <target xml:lang="uk">Ласкаво просимо у ваш акаунт. Тут, ви можете управляти адресами і замовленнями.</target>
          <note>Context:
  File: themes/theme_melani4/templates/customer/my-account.tpl:34</note>
        </trans-unit>
      </body>
    </file>
</xliff>

in the backoffice I see https://i.imgur.com/AmNdHu7.png - it says that there are 10 phrases but only 2 of them show up.

My question is how can I add all of the standard translations of the ShopThemeCustomeraccount but in my 3-rd party theme?

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...