• Resolved ruzakuku

    (@ruzakuku)


    Hello,

    In the form to submit a new add, the string “Category selection” just above the categories drop box, cannot be found in the language file. Where is it coded, so that we can translate it into our language?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi @ruzakuku,

    Sorry that you ran into issues here!

    If you’re trying to do translations, you need to use the translation file we include with the plugin. Are you following these instructions here?

    This article will give you the specifics on how to translate the directory:
    https://businessdirectoryplugin.com/knowledge-base/translating-bd-other-language/

    Please keep in mind that with each release, we add, edit or remove strings in the plugin, and as a result, those things are changed in the translation file. If you are using a translation file, you should update your translation files with EACH upgrade of the plugin. If you have an older translation file, you may need to upgrade it.

    Follow the instructions in this article for the steps to take to upgrade your translation file: https://businessdirectoryplugin.com/knowledge-base/how-to-upgrade-a-translation-file/

    If that’s not it, can you tell me what version of BD you’re running here? And where the specific page is (link is best)? (It’s important to know that because many strings have duplicates across the plugin)

    Thread Starter ruzakuku

    (@ruzakuku)

    The translation below did not show up (french language .po file)

    #: includes/views/submit_listing.php:328
    #, fuzzy
    msgctxt “submit listing”
    msgid “Category selection”
    msgstr “Sélection de la catégorie”

    If I remove the line
    #, fuzzy

    then the translated text is shown.

    Is it a bug?

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    No, it’s not a bug. But it is an annoying aspect of POEdit, the program used to generate that file.

    Fuzzy translations cause problems because POEdit isn’t 100% sure that the translation is the best fit, so it “ignores” the translation (which is super annoying)

    Removing it tells WordPress that the translation is OK to pull.

    Sorry that was confusing.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Language, one string cannot be found’ is closed to new replies.