Skip Navigation

[Resolved] Parent selector translation

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 6 replies, has 2 voices.

Last updated by toolset-dave 7 years ago.

Assisted by: Shane.

Author
Posts
#598577

Hi, I have translated select2.js file by my previous thread: https://toolset.com/forums/topic/translation-in-parent-selector/
But now I looked into the form hidden link and the field Autor is again in English (Please enter 2 or more characters,..) . I am not sure what´s wrong, because the translated file is still there.

#598675

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dave,

Thank you for contacting our support forum.

I took a look at this and I was not able to spot an English field as all the fields are translated on my end.

Thanks,
Shane

#598702
parent-selector.png

Hi Shane, please see the attached image.

#598980

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hello,

I suspect that this is the same issue that Minesh had assist you with. The difference is that in this case it would be

 formatInputTooShort: function () {
                return " Please enter 2 or more characters";
            },  

So you will need to look for this as well.

Thanks,
Shane

#598990

Hi Shane,

this is what I have already translated:

    inputTooShort: function (args) {
      var remainingChars = args.minimum - args.input.length;

      var message = 'Prosíme, zadejte ' + remainingChars + ' nebo více znaků';

      return message;
    }

Same as I have translated:

    noResults: function () {
      return 'Autor nenalezen';
    },
    searching: function () {
      return 'Vyhledávám…';
    }

When I edited it by the guidance https://toolset.com/forums/topic/translation-in-parent-selector/ it worked. But I dont´t know why not now.

#599289

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Dave,

Thanks for clearing this up.

Indeed I see the correct setup has been made so I suspect that there might be some caching involved. If there are any cache on your website or server I clearing the cache because it could be loading a previous version of the file.

Thanks,
Shane

#600170

It was probably caused by some cache... I tried almost everything.. I even found the same file in other Toolset plugins, so I placed the translated version there.. I tried to view the site on other devices.. But now after many days, voilà it displays correct language.