Jonah

Language File in Child Theme

I have upgraded to responsive DP 5.8 which apparently solved the issue of using a language file within a child theme. However, I still cannot get my child theme to use a custom language file. I have tried to create _language.php in the child theme folder and in a new folder called framework, under the child theme folder. The only way I was able to get an alternate language file working was to upload a language_alternate.php file in the main DP theme folder: wp_content/themes/DT58/templates/template_directory_theme/language_alternate.php I'm worried that I will have to reinstall this alternate language file with every update. Can someone tell me the exact location and file name to use so that a language file can be used within a child theme in responsive DP 5.8?

Created: January 28, 2014 at 11:15 pm
  • In: Directory Theme
  • Started by: JonahJonah
  • 4 members left 4 comments
  • Last reply from: JonahJonah

  • Malgorzata
    Malgorzata
    January 28, 2014 at 11:50 pm

    If you put it in your child it should not. But mark is the only one who knows for sure.
    Put same Q’ to Mark in topic Title.

  • Ian
    Ian
    January 29, 2014 at 1:40 am

    @Jonah, put it in your child theme and name it

    Make sure the array on line 8 or 9 is still named as below

    // UPDATE 27TH JULY 2013
    “english” => array(

  • Mark Fail
    Mark Fail
    January 29, 2014 at 9:29 am

    in your child theme

    wp-content/themes/XXXX/

    add a file called:

  • Jonah
    Jonah
    January 29, 2014 at 3:27 pm

    Thanks Mark!
    worked great.


Viewing 5 posts - 1 through 5 (of 5 total)