Store Locator Plus® for WordPress Forums Store Locator Plus 'No locations found' Text will not translate

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #39693
    Frank
    Participant

    I translated all Strings into German language with PO/MO files. I already sent them to you. But the texts for ‘no locations found’ will always show up in english, even though I checked thats it is really translated. I former versions this might have been a label, that’s what I found in other forum topics. However I do not have this label. Could that be the problem?

    Attachments:
    You must be logged in to view attached files.
    #39718
    Cici
    Keymaster

    Hi Frank,

    You are correct, that is a label on the Front end, that is why it isn’t showing up in the SLP translation files.   If your translations are accepted and found to be at 100% I believe you would qualify for an add-on (The Legacy version of  Enhanced Search.) or a discount towards the Experience Add-on

    Send  another email to support (you should have that part down pat right?) If you want the add-on. I have been away for a few days .   I know Lance was working with you but I will see the email in support.

     

    CiCi

     

     

    #39760
    Frank
    Participant

    I just sent the translations again to support email address. Please check.

    Best regards, Frank

    #39766
    Cici
    Keymaster

    Thanks Frank, Replied with email and sent you the zip file for ER and additional instructions about some of the translations.

    P.S. I meant to say Enhanced Results, since it is “results” options table that comes back with the No locations found string…

    Thanks!!

    #39770
    Cici
    Keymaster

    For others who might be reading this:

    For other users that might read the forum posts:

    the .po and .mo just go in the ./languages folder

    You set WP to “german”.

    You install/activate the SLP plugin.

    SLP will store whatever is in your .po file as the translation for “Find Locations” or “No results found” into the WordPress options table.     This as a clean first install will translate, if not, then from that point forward the ONLY way to change the translation is to edit the setting itself. But it is serialized data.

    So the only REAL way to change strings is to use the add-ons  ES/ER/EM depending what string you are changing and edit it.

    The other option is to delete all the SLP options with Janitor, deactivate SLP, make sure you .po is updated, re-activate SLP,  and re setup your SLP options.  Probably not preferred method.

    They are now stored in the WP options because they were NOT in the translation file when you activated the plugin.  If they are not translated and you activate SLP it will default to English and store the English string in t the WP options table. It is stuck like that until  you change it with an add-on if Janitor doesn’t work.

    #39771
    Cici
    Keymaster

    P.S. The language files are imported into the database for the NEXT versions release. I think ProPack had a recent version release before you sent those files, so it will be included in next release.

    #41566
    Cici
    Keymaster

    @ Frank,

    This info just in  from the developer, and if you would be so kind as to assist, ” please ask people to help me test WPML in the base plugin while I’m developing SLP 4.5.07 this week. I’ll put out a pre-release soon.

     

    Quick testing and feedback wanted.  I want to push 4.5.07 public before I go offline 06/20 for a week.”

    #41585
    Frank
    Participant

    Hi Cici,

    if you send me the pre-release I can do a quick test. Please keep in mind, that I have the packages Tag Along, ProPack, Pages and Enhanced Results installed additionally.

    #41599
    Cici
    Keymaster

    Hi Frank,

     

    Here is a link to the SLP pre release 4.5.07

     

    #41600
    Lance Cleveland
    Keymaster

    I am only working on the base plugin WPML compatibility at the moment.  There appears to be a number of challenges to getting WPML to work properly; at least when using the documentation they provide.   I’ve sent them a detailed description of the technical issues and am awaiting a reply.

    Only Power, Experience, and Premier will be updated at some point in the future to be WPML compatible.    It is far too much work jumping through WPML technical hoops to go back and port all the older add on packs.

    In the meantime the latest SLP 4.5.07 prerelease is available for free from the SLP website:

    https://wp.storelocatorplus.com/product/store-locator-plus-prerelease/

     

    Also read this:

    https://docs.storelocatorplus.com/blog/using-language-files-to-help-wpml-with-gettext/

     

    Short version:   You must have a complete language file for your alternate languages presented on your website front-end with WPML.   If your site is in English and you want to provide Spanish translations for things like “no results found” you must create a Spanish version of your page with the [slplus] shortcode AND make sure the Spanish language files are up-to-date with the latest version.   I use Loco Translate to first Sync and then use Google Translate to fill in any missing translations.

     

    Once WPML starts answering some of my half-dozen technical questions I can start working on more complext issues.

     

    Currently SLP 4.5.07-beta-02 appears to be changing the UI elements of the base plugin such as the radius drop down entries (“10 miles” to “10 millas” for example) and the Find Locations default text on the find button.

    4.5.07-beta-03 (not out yet) will also tell Google which language is being used to view the page with the [slplus] code and will change the Google Map Elements (“satellite/map” and copyright and town names) to match the selected language.

    Still waiting to hear back from WPML on how to make things like user-settable labels like “Search  Labels (Experience / Search / Search Labels)” settings like the Address Label and Radius Label translate on-the-fly without incurring the TRIPLE execution speed performance hit (it is 3x slower loading the page if I use their register/translate string filters).

     

    Please test and give feedback based on translation issues with the base plugin.   I’m planning to publish an updated WPML friendly release of the base plugin version 4.5.07 production by Sunday AM.

    #44730
    webprom
    Participant

    I had to replace this text with css. It’s not translatable 🙁

    
    
    .no_results_found h2 {
    	overflow: hidden;
    	width: 1px;
    	text-indent: -2000em;
    	display: inline-block;
    }
    .no_results_found h2:before {
    	content: 'YOUR LANGUAGE TRANSLATION';
    	width: auto;
    	text-indent: 0;
    	display: block;
    	position: absolute;
    	font-size: .8em;
    }
    
    
    #44755
    Cici
    Keymaster

    Please read the posts from June . The No results found is a label. You enter it as text

    https://docs.storelocatorplus.com/blog/no-results-found-label/

     

     

     

    #44981
    Frank
    Participant

    Hi Cici,

    I just bought the POWER Plugin for another installation. I still have the old issue with NO LOCATIONS FOUND. There is no label in any settings. It costs me 250,- $. Don’t you think it should be translatable with this plugin.

    And I have WPML installed and translated the sting with WPML String Translation. No Effect.
    And I created a .po/.mo File for german language. No Translation.

    #44988
    Cici
    Keymaster

    It is a text string.  

    Power is a new add-on and there may not  be a translation from old legacy add-ons will not “auto” translate.  WPML is not very useful imo for what you are doing, straight text translation.

    There is NO CSS WITH POWER. Any ability for CSS or to change appearance, layout etc is part of Experience Add-on

    Also the LABEL to be changed, if you wish to put anything in there, including in German,   “No results found” ability to change it  is under Experience/results/APPEARANCE…and that is part of the Experience add-on not the Power add on..you can put anything in place of No results found, you can type in “HEY Go try again”,

    or

    “Try a different search”

    …or anything beside No results found. ….

    See my attached to see what I put in place of No results found..

    But the same deal will apply if you are translating a new add-on, i.e Power, Lance will discuss with you an equitable adjustment. Perhaps he will send you the Experience Add-on, send an email to support with the translation you did for Power.

    https://docs.storelocatorplus.com/blog/translating-store-locator-plus/

     

    Attachments:
    You must be logged in to view attached files.
    #44992
    Frank
    Participant

    Hi Cici,

    thanks for the answer. I finally translated it with this CSS trick (see the answer from Jan, 19th 2016). So no needs for the Experience Add-on:

    .no_results_found h2 {
    overflow: hidden;
    width: 1px;
    text-indent: -2000em;
    display: inline-block;
    }
    .no_results_found h2:before {
    content: ‘YOUR LANGUAGE TRANSLATION’;
    width: auto;
    text-indent: 0;
    display: block;
    position: absolute;
    font-size: .8em;
    }

    But please think about a way to include the translation of NO RESULTS FOUND in Powert as well as in Experience. Power costs 250,- $ and I think it has to be included for this price. Or make it translatable with WPML or any other Multi Language Plugin.

    Thanks, Frank

    #45011
    Cici
    Keymaster

    Don’t get Lance started on WPML.  Lance has been working with them over the past year and they have not been very responsive, he has been beating his head against the wall to get them to resolve some simple issues on their end.

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘'No locations found' Text will not translate’ is closed to new replies.