• Resolved charlie999

    (@charlie999)


    How to translate this plugin?
    Have tried to use .po (PoEdit) files as usual for translating, and uploaded the files to language folder of the plugin.
    But nothing is translated.

    Regards,

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter charlie999

    (@charlie999)

    Hi
    Ok, i figured out how to translate the plugin.
    It was just an issue where to upload the .po files depending on the used theme.
    When the .po files are in correct direction the translate works.

    Just have a question about how to translate “Used and New”. They are in the .po file but do not work for translating those dropdown fields.
    There must be a better way than install other plugins for translating those few phrases?
    I saw a suggest to use a translating plugin for this, which i think sounds crazy.

    Any help on this?

    Regards

    Thread Starter charlie999

    (@charlie999)

    Hi,
    There is more hardcoded things here.
    How to translate “Search Results for:” it is not in the .pot file either?
    So where can we find that?

    Also, it starts to feel like talking to a wall here, you can say how much you want but don’t expect any answers.
    I have never experienced similar with any other plugin (freee or paid) during my many many years with wordpress.
    Regards

    when appear “Search Results for:” ?
    if you discover how translate NEW/USED please tell me, because i don’t know how too

    Regards

    Thread Starter charlie999

    (@charlie999)

    Hi @jfsilva
    I have not been able to translate “New and Used”, i just disabled them and using Suffix after price for that instead. Then the price look like this for an example 5000 kr (Beg) ,where Beg is Used in my language. Than this is not included in search filters also. It seems impossible to find the file where this is written. But it must come from somewhere. Don’t understand why the author of this plugin can not answer this question.

    I tried to change the “New and Used” even in the database, but no luck. I will take a new look in the database and see if i can find something else there. I do not recommend to change something in the database unless you know what you are doing.

    The phrase “Search Results for:” was coming from my used theme and was just a title for the search result page. I have translated that in my theme now so it’s not a problem anymore.

    Regards

    Thread Starter charlie999

    (@charlie999)

    Hi
    I found the file at least. But this is only useful for using one language.
    In the file “auto-listings\src\Admin\settings\04-listing-setup.php” on line 20, 21 and 22 are those phrases “New, Used and Certified”.

    Change them to whatever you like on both left and right side. Make sure you have a backup file of the original 04-listing-setup.php file and upload the new file to your server.

    After this you need to update your settings/listings/Conditions to include them again, because they will disappear because of this.
    Than you also need to update all of your listings to make sure you have the right condition used for each car.

    This worked for me and i’m sure it will work for you too.

    Regards

    Plugin Support Hung PD

    (@nhalauxehoi)

    Hi,

    First of all, I’m really sorry have taken long time to reply you.

    ‘New / Used’ is option values so if you want to translate it you need to use WPML.

    Regards,

    After this you need to update your settings/listings/Conditions to include them again, because they will disappear because of this.

    where? where i update that?

    Regards

    Thread Starter charlie999

    (@charlie999)

    Hi @jfsilva,
    After you have changed the file, just check and enable those conditions again in your Listings settings at your wordpress admin panel.
    Go to Listings/Setup/Listings/conditions and enable those conditions again, (they can be unmarked after you have made those changes to the file).
    Thats it! Works Fine!

    If you make an update of the plugin in future, it will overwrite that file and you have to do this process again (change the file again after an update).

    (@nhalauxehoi) it is really not a good practice to be forced to use WPML to translate a few words, even if those words is options. Specially if the site only use one language. WPML is ment to be used if you use more than one lanhuage in your site, WPML is not free to use either, so you can not tell people to install WPML to just translate 3 phrases. I can understand that is not so simple to include options in the .pot file
    But it is possible to translate those phrases as i did too, even if it’s not a good practice to change the file codes either. But in this case better than install WPML.

    Otherwise i like your plugin, it is definitely one of the best car listing plugins and this is the car listings plugin i will use for my clients who need a car listing plugin.

    Regards

    • This reply was modified 3 years, 3 months ago by charlie999.

    Thank you, it’s solved 😀

    Regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Translate’ is closed to new replies.