Support » Plugin: Beautiful taxonomy filters » Change frontend terms

  • Resolved boutayeb


    Hi dear Jonathan,
    Thank you for the wonderfull plugin!
    I’m working on a multi-lingual (Arabic, English et French) website and I need to display different words for the items displayed. If I use your code snippet

    function modify_filter_button($string){
        return __( 'Search' );
    add_filter('beautiful_filters_apply_button', 'modify_filter_button', 10, 1);

    it overrides everything, the translation files are not used I suppose.
    I created a new translation file using Poedit for Arabic, it doesn’t seem to be working. I edited the French one to get around the problem of masculine and feminine objects but it doesn’t work either.

    Any clue?

    Thanks a lot!

    • This topic was modified 1 year ago by boutayeb.
    • This topic was modified 1 year ago by boutayeb. Reason: typos
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jonathandejong


    Hi @boutayeb

    Yeah if you override the strings with your own you’ll either have them untranslatable or if you’ve put the code in your theme just use your themes textdomain and then you can translate the files in the theme.

    However it should absolutely be possible to modify and/or create your own translation files for the plugin. I recommend using Loco Translate and make sure you put the files in either the uploads folder or wp-content/languages. Otherwise it’ll get overwritten when you update.

    Best of luck!

    Thread Starter boutayeb


    Thanks a lot dear!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change frontend terms’ is closed to new replies.