2

My wpconfig.php file:

define('WPLANG', 'tr_TR');

My Code:

echo '<div id="wtdCustomizButtonDetailsPage"><a href="'. $getCustomPage .'?type=wtd_sc_designer&wtd_id='. $id .'">'. __('Customize', 'wctd') .'</a></div>';

My PO File Naming:

enter image description here

Inside of my PO File:

enter image description here

What am I missing ? The text still is in English.

2
  • how do you load the MO file ? show us the code you use – mmm Apr 14 '17 at 8:45
  • @mmm what do you mean by loading mo file? Please tell me which page's code or sections code you want me to share with you ? – HOY Apr 14 '17 at 8:54
2

Check the following function in your plugin:

load_plugin_textdomain ();

and be sure that the directory to languages folder is correct.

This fixed the issue for above question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.