WP doesn't detect language files when on server, works on localhost
-
Hello,
Does anyone have a suggestion on what to do..? I have been creating my multisite, multi-lingual WP-theme on localhost to practice and to make sure nothing goes wrong when later redoing it on the live server.
Everything works fine on localhost so I just can’t figure out why it doesn’t detect my language files on the server?I uploaded the languages folder (created on my computer with PO Editor) to the theme folder on the server, including all the four files created by the editor; the projectname.mo, projectname.pot and the es_ES.po & es_ES.mo-file. In my functions-php I have this:
add_action( 'after_setup_theme', 'my_theme_setup' ); function my_theme_setup(){ load_theme_textdomain('ctequestrian', get_template_directory() . '/languages');
just as I have on my localhost.
What is it that has changed..? I so hope that someone here can help..
- The topic ‘WP doesn't detect language files when on server, works on localhost’ is closed to new replies.