This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
Zara Translation
« on: October 07, 2019, 10:41:17 AM »
Hi,
I have just purchased Zara theme. In my old theme it was possible just to open .po file and make a translation.
Now I just see that in the map language , there is only en_US map. But still the theme zara is translated in french.
Where is the translation and how to make it possible to include another language ??

Thanks very much for the help to my question.

*

MB Themes

Re: Zara Translation
« Reply #1 on: October 07, 2019, 12:21:30 PM »
Osclass is translated, not theme, so strings you see in french are probably from osclass/core translation
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Zara Translation
« Reply #2 on: October 08, 2019, 10:18:52 PM »
Thank you for your feed back.

I have 2 problems:
 
1- There are many words which are not translated (even when I give a translation in theme.po )

 In item-edit.php, the instruction :
<?php echo osc_esc_js(__('Select a region', 'zara'));
does not translate the text ( as e_(..) ) do.
I tried to change the osc_esc_js(__('Select a region', 'zara'));  to   e_('Select a region', 'zara'));
but I get a error.

2- osc_esc_js(   ?  What does it mean? Is it a function ? In this case where is it defined?

Thank you for enlightening me on this subject.


*

MB Themes

Re: Zara Translation
« Reply #3 on: October 09, 2019, 08:44:33 AM »
1) check docs how to translate themes
2) it is defined in core, removing (escaping) single quote character
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Zara Translation
« Reply #4 on: October 09, 2019, 11:30:17 AM »
Hi,
Thanks !

I have already translated or added new word in Zara in swedish. And it works fine. It means that I know how it works.
But Not 100%: in the file search.php there is an instruction like:

  in line 42     <?php _e('Personal', 'zara'); ?>

in my theme.po the translation looks like:
  #: search.php:42
   msgid "Personal"
   msgstr "Personlig"

But It is not translated in my site.

I am completely blocked and after several days, I remain without solution.
Do you have some idea?

Your help will be greatly appreciated.

Marked as best answer by frosticek on October 10, 2019, 09:55:52 AM
Re: Zara Translation
« Reply #5 on: October 09, 2019, 01:51:39 PM »
Hi,
I have the solution.
I loaded the theme.po to the Zara language. When I send it to the Osclass language, all words are translated in my site.

Thank you for your all.

*

MB Themes

Re: Zara Translation
« Reply #6 on: October 10, 2019, 09:55:45 AM »
Great!
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots