Support » Plugin: Jock on air now » Translate Weekdays

  • Hi,

    How can I translate ‘Sunday’ ‘Monday’ etc in my language please. I really hope you have an option or steps (lines etc that I need to edit)

Viewing 2 replies - 1 through 2 (of 2 total)
  • kosimus

    (@kosimus)

    Hi!

    Well… It’s not exactly translating stuff on the server side, and also it is not elegant, but there is a solution that worked for me.

    I found a plugin that lets you swap text according to rules that you define. It checks for string that you want to replace on each page refresh and if it finds one, it just replaces it before the page is shown to end user.

    So you can define that “Sunday” should be always replaced with “WhateverIsSundayInYourLanguage”.
    Then every occurence of “Sunday” throughout your webpage will be replaced.

    Keep in mind that this will actually replace it everywhere, so if you want to use “Sunday” in English anywhere, after you’ve defined the rule, you just can’t, unless you switch off the plugin :).

    That’s the plugin: https://wordpress.org/plugins/real-time-find-and-replace/installation/

    Hope it helps.
    Best,
    Bartek

    PS Spoke too fast :). The free version will only let you replace 5 strings.

    • This reply was modified 3 years ago by kosimus. Reason: typo
    • This reply was modified 3 years ago by kosimus.
    • This reply was modified 3 years ago by kosimus.
    kosimus

    (@kosimus)

    OK, found another plugin that does not have quantity limitation:
    https://wordpress.org/plugins/replace-word/

    Good luck!

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