Ready to get started?Download WordPress


Usernoise modal feedback / contact form
[resolved] Some strings are not translating (14 posts)

  1. John
    Posted 11 months ago #

    Everything seems to work fine with language files but can't get the 4 options with icons (Idea, Question, Problem, Praise) to be translated. I edited the corresponding .po file but can't get it to work. All other words are correct, but most of them are defined in settings.

    Any ideas?


  2. karevn
    Posted 11 months ago #

    Can you please tell what language are you using? I'll check it then.

    To fix the problem after installing Usernoise, you'll need a Pro version (it has built in category editor) or manually modify wp_terms table - it usually is pretty small and does not take long to edit.

  3. John
    Posted 11 months ago #

    Language is French.
    Thanks for this but I don't know what you mean by this table - is that part of your plugin or WP?

  4. John
    Posted 11 months ago #

    OK, found the table with the strings, but what do you suggest here - change the name directly in there...?

  5. karevn
    Posted 11 months ago #

    That table is a standard WP table, and it is used by Usernoise and others. But it is OK to change those values there.

  6. John
    Posted 11 months ago #

    OK, thanks will do.
    But it would be much better, if possible, to add those strings in translation .po files.

    Thanks a lot.

  7. ghalleb
    Posted 11 months ago #

    In fact those fields don't use the wordpress translation mechanism

    In _inc/form.php line 14,

    echo esc_html(__($tag->name, 'usernoise'))

  8. John
    Posted 11 months ago #

    Doesn't seem to work either for me...
    But I leave this up to the author to decide.

  9. karevn
    Posted 11 months ago #

    Guys, these strings ARE in .po files. There just were a version that did not use it correctly, so you have wrong values already written into the database.

  10. ghalleb
    Posted 11 months ago #

    For my part I need to use WordPress translation mechanism (and not the values in the database) because my site is not only in one language.
    That's why changing the values in the database is not a solution.

    So I don't touch value in the table wp_terms and I translate them with __($exp).

    But for a WordPress installation only in one language, my solution may be overkill...

  11. John
    Posted 11 months ago #

    I have installed only a single version - the latest, about 4 days ago when I posted this message. I found those strings in .po files, translated them but they don't display. Only those ones, all others work correctly.

  12. ghalleb
    Posted 11 months ago #

    For you it will be easier:

    Go in the database, table wp_terms

    search for slug idea, question, problem, praise and modify the name column to whatever you need

  13. John
    Posted 11 months ago #

    Right, I already did so and it works. But I just wonder what will happen during the next update.

  14. dhunink
    Posted 10 months ago #

    I still see untranslated stuff, in the e-mail that's being send out to users when a feedback is approved.
    While all the other stuff is showing in my language (Dutch), this e-mail text isn't.

    I noticed the string isn't in the PO file:
    "Your Feedback %title% has been published by %admin_user%"
    "Thanks for your feedback"
    "You can view it at %link%"

    Where the last link is also wrong by the way, it links to the main website instead of the feedback item.


You must log in to post.

About this Plugin

About this Topic


No tags yet.