• Creator
    Topic
  • #17681

    Lukasz
    Spectator
    Been thanked: 0 times

    Hi,

    I’m using plugin Child Theme Configurator. I try to change two line in file woo-config.php but it’s not work. If I changed it in orginal file it work, but in Child Them file not.

    I try to change line with translations:

    by

Viewing 5 replies - 1 through 5 (of 5 total)
Replies
  • Roman
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #17697 |

    in the child theme you should use the ‘woocommerce’ text domain as well

    Lukasz
    Spectator
    Post count: 43
    Been thanked: 0 times
    #17716 |

    It is very complicated, because in the first version in both files (woo-config.php and PL.po) was “woocommerce”. Of course in “.po” file, this two sentences was translated, but it doesn’t work. I decided to change it. When I replaced woocommerce by alora in both files, it started work, but when I tried do the same in Child Theme “woo-config.php” file, it turned out that it not work.

    Why?

    Roman
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #17744 |

    probably the child theme will need to include the translation files with the updated text domain

    Lukasz
    Spectator
    Post count: 43
    Been thanked: 0 times
    #17763 |

    Ok, but how to do this? Copy folder “languages” from alora to alora-child folder?

    Roman
    Keymaster
    Post count: 2542
    Been thanked: 29 times
    #17767 |

    you could try it…I never test it 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.