-
AuthorPosts
-
January 26, 2015 at 11:34 pm #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.
January 27, 2015 at 6:15 pm #386457Hi 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,
YigitJanuary 27, 2015 at 9:59 pm #386621Hi 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.
January 28, 2015 at 5:07 pm #387127Hey!
Do you mind creating a temporary admin login and posting it here privately?
Best regards,
YigitJanuary 29, 2015 at 4:38 pm #387763This reply has been marked as private.January 29, 2015 at 4:46 pm #387772Hi!
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 filesBest regards,
YigitJanuary 30, 2015 at 2:55 am #388090I updated the theme. I’m still experiencing the same problem.
Thank you.
January 30, 2015 at 6:14 pm #388399Hi!
Can you please go to Enfold/comments.php file and change the strings manually?
Regards,
YigitJanuary 30, 2015 at 8:30 pm #388498This reply has been marked as private.February 1, 2015 at 7:06 am #388949Hello,
I would appreciate any suggestions you may have.
Thank you.
February 4, 2015 at 6:11 am #390516Hi,
Can you please create us a temporary FTP account? post it here as a private reply.
Regards,
JosueFebruary 4, 2015 at 7:16 am #390550HI ,
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 .
February 4, 2015 at 7:38 am #390554Thank 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.
February 4, 2015 at 7:40 am #390556This reply has been marked as private.February 4, 2015 at 10:58 am #390641Hey!
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,
JosueFebruary 4, 2015 at 7:24 pm #390874This reply has been marked as private.February 4, 2015 at 10:01 pm #390952Hey!
Can you please re-enable the account you set up for us here? it’s no longer working.
Best regards,
JosueFebruary 4, 2015 at 10:37 pm #390972This reply has been marked as private.February 5, 2015 at 11:27 am #391170Hey!
Add this code to the child style.css:
.avia-slideshow li{ margin-right: 0; }
Cheers!
JosueFebruary 5, 2015 at 7:12 pm #391567Hi Josue,
It worked. Thanks a lot!
Best regards.
-
AuthorPosts
- The topic ‘Translation Issues’ is closed to new replies.