• Resolved monicaamb12

    (@monicaamb12)


    Hi,

    How can I change this string in blue box? It means “there is no results in the search”. I have been looking up in the code, I finally changed it but it doesn’t work.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support alexrollin

    (@alexrollin)

    Hi!

    It looks like the original string has been altered to remove the variable %s – add that back in the original and make sure it is present in the translated version, too, or else GD will revert to the plugin file version. Also make sure your PO and MO files both are in the wp-content folder as described here. Check the bottom of the page for the details on hiding a variable with inline CSS.

    Make sure you use POEdit to also create an MO files. Just loading the PO file is not enough by itself – need the PO and the MO files.

    https://docs.wpgeodirectory.com/article/97-how-to-translate-or-localize-geodirectory

    Thread Starter monicaamb12

    (@monicaamb12)

    Thank you for the answer. I am trying it but I don’t achieve the goal.

    1. I understand the first you tell me. I can’t remove the variable. Ok, so this is okay right?:

    2. “Make sure your PO and MO files both are in the wp-content folder”:

    Yes the PO and MO files are in the same place where I find them: /public_html/wp-content/languages/plugins

    3. “Make sure you use POEdit to also create an MO files. Just loading the PO file is not enough by itself – need the PO and the MO files.”:

    I don’t understand this. POEdit??

    I just want to delete some words!

    Now the text in spanish is:

    No se encontraron anuncios que coincidan con tu selección. ?Algo falta? ?Por qué no?A?adir un anuncio??.

    And it needs to be like this:

    No se encontraron anuncios que coincidan con tu selección.

    Plugin Support alexrollin

    (@alexrollin)

    Hello,

    the actual changed text will be inside the MO file, so, use POedit and that will create both files for you. Once created you upload them to the languages folder.

    If you need further help please open a support ticket here:?https://wpgeodirectory.com/support/

    Thread Starter monicaamb12

    (@monicaamb12)

    Thanks the problem was that I don’t know was POedit, I dindn’t know it was a program

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change a string’ is closed to new replies.