Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #385929

    Hello,

    I installed the Arabic version of WordPress. I also activated RTL feature in the child theme in functions.php: wp_enqueue_style( 'avia-rtl', get_template_directory()."/css/rtl.css", array(), '1', 'screen' );
    Everything seems to work fine. However, some words are still showing up in English. I use a program called Poedit. I checked the file you have in “lang”: (ar_SA.po) and I can see that those words were translated in the original file…but they are still not showing up on the website! For example, “Leave a Reply”, “Replies” “Want to join the discussion?
    Feel free to contribute”…etc. Unless the Arabic translation I’m seeing comes from WordPress and enfold translation is not working at all.
    Am I missing something here? Please advise.

    Thank you.

    • This topic was modified 9 years, 10 months ago by AGraphics2014.
    #386457

    Hi AGraphics2014!

    Please install this plugin – https://wordpress.org/plugins/codestyling-localization/ and rescan theme files, edit strings and click “generate mo file” button

    Best regards,
    Yigit

    #386621

    Hi Yigit,

    Thank you for your reply. I tried this plugin before and I was having the same problem…I installed it again now and the Arabic translation is still not showing up. I also added this code to wp-config.php:
    define ('WPLANG', 'ar_SA');
    I tried many different solutions…but no luck so far.
    Is there a code I have to include to tell WordPress to load the right .mo file? Maybe the cause is that the correct MO file (ar_SA.mo) is not being loaded by WordPress.

    Thank you.

    #387127

    Hey!

    Do you mind creating a temporary admin login and posting it here privately?

    Best regards,
    Yigit

    #387763
    This reply has been marked as private.
    #387772

    Hi!

    Can you please firstly update Enfold to the latest version 3.0.8 – kriesi.at/documentation/enfold/updating-your-theme-files/
    Latest version fixed issues on language files

    Best regards,
    Yigit

    #388090

    I updated the theme. I’m still experiencing the same problem.

    Thank you.

    #388399

    Hi!

    Can you please go to Enfold/comments.php file and change the strings manually?

    Regards,
    Yigit

    #388498
    This reply has been marked as private.
    #388949

    Hello,

    I would appreciate any suggestions you may have.

    Thank you.

    #390516

    Hi,

    Can you please create us a temporary FTP account? post it here as a private reply.

    Regards,
    Josue

    #390550

    HI ,
    WPLANG constant in your wp-config.php file is no longer needed. You should ensure that the arabic ar_SA selected from General > Site Language in the WP dashboard.

    That will bring most of the strings to Arabic translation , except that part of them would not be coming correctly . like months names these need to be manually translated .

    #390554

    Thank you Zarrougt.

    I tired everything you said before and it did not work!

    Thanks again.

    • This reply was modified 9 years, 9 months ago by AGraphics2014.
    #390556
    This reply has been marked as private.
    #390641

    Hey!

    Translation now works, i had to rename the filename in /lang/ from “ar_SA” to “ar” so WordPress can recognize it (WP uses this format), now the problem is that you won’t be able to edit it via Codestyling Localization (because it uses language-region format), you’ll need to use Poedit to keep the filename WordPress compliant.

    Regards,
    Josue

    #390874
    This reply has been marked as private.
    #390952

    Hey!

    Can you please re-enable the account you set up for us here? it’s no longer working.

    Best regards,
    Josue

    #390972
    This reply has been marked as private.
    #391170

    Hey!

    Add this code to the child style.css:

    .avia-slideshow li{
      margin-right: 0;
    }

    Cheers! 
    Josue

    #391567

    Hi Josue,

    It worked. Thanks a lot!

    Best regards.

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Translation Issues’ is closed to new replies.