Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hi
    It seems that you use WPML plugin and not Polylang.

    No, we are using Polylang not WPML.

    Plugin Support Chrystl

    (@chrystl)

    I found some traces of WPML in the source code, your theme is compatible with it.
    Plus I see you have certainly in your theme options a setting to use the WPML language switcher.

    I used Codestyle Localization for translations and generated .mo file as well but it is not picking up the translations for all sections.

    You translate some strings thanks to CodeStyle Localization and they don’t displayed in frontend?
    In that case rename your .po/.mo files in WordPress locale for Arabice it’s ar and no ar_AR (adding by CodeStyle Localization).

    I don’t know if you use Polylang for the first time but below some steps to check:

    1) Activate Polylang

    2) Create your languages => Settings > Languages > Tab Languages

    3) Choose your permalinks => Settings > Permalinks: i.e:”Post name”

    4) Create your static front pages per language => Pages > Add new.
    e.i: “Homepage english” (original page) click on the plus sign and create another “Homepage turkish”.
    4.1) Define your static front page => Settings > Reading: select “A static page (select below)”. In the dropdown “Front page:” select “Homepage english”.

    5) Choose your Polylang settings => Settings > Languages > tab “Settings”: i.e:”The language is set from the directory name in pretty permalinks”

    6) Create your widget => Appearance > Widgets.

    7) Create your content (pages, posts, categories..) which go in menus. Don’t forget to click on the plus sign to create another translation.

    8) Create your menus. One per language => Appearance > Menus. Put in your menus: Homepage, Language switcher, category …
    You must put at least one page or post if you want they appear on your website.
    Don’t forget to assign your menus in “Manage locations” tab.

    Theme is indeed compatible with WPML but I’m using Polylang. Let me know how did you check this, it might be helpful for me to further debug as well.

    I did all the steps you mentioned except that I selected ‘The language is set from content’. I changed that to what you said. Also, language files are ar_QA as they are Qatar based. I changed them to ar only. But still it is the same.

    This is the arabic site link: http://marbagroup.com/qatarridewp/ar/%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9-%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9/

    I have added language switcher in the menu as well. Previously I added from code on the top bar which was working fine but now its not.

    You can see top bar and side search bar are not loading translations.

    Plugin Support Chrystl

    (@chrystl)

    Theme is indeed compatible with WPML

    You can see that in the source code of your home page.

    Could check your home page with Validator.w3. It could help you to check some problems.

    Previously I added from code on the top bar which was working fine but now its not.

    It’s certainly a WPML language switcher provide with your theme, I don’t how it works.

    I have added language switcher in the menu as well

    No in your english version, the language switcher is not displayed.

    When you have translated these strings from english to arabic, did you have and use the Polylang metabox? Could you provide a copy screen of the list post/ pages or others to see how your translations are linked.

    I used Polylang language switcher in code. I can give you test credentials to see in detail. Let me know how I give you.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Translations not loading’ is closed to new replies.