Okay
  Public Ticket #3192415
Unable to translate '[number] results for' search string
Closed

Comments

  •  2
    Andrius started the conversation

    Hi,

    how can I translate the '[number] results for' string on the search results page?

    Thanks,
    Andrius

  •  1,558
    Laborator replied

    Hi Andrius,

    To translate or rename theme strings, you can do this via Loco Translate plugin. If you don't have it, please install and activate the plugin on your WordPress site.

    1. Then go to Loco Translate > Manage Translations
    2. Click "New Language" for the currently active theme (if you didn't created it yet, otherwise ignore this step). On the new language page, choose these options – Screenshot
    3. After that, you will be redirected to the editing screen for theme translations. Before you continue with your translations make sure the current language of your site is selected – Screenshot
    4. Follow these instructions to learn how to translate strings – Screenshot
    5. The changes will be applied immediately – Screenshot

    Note: Translation files will be saved to wp-content/themes/{theme-name}/languages folder or global directory of theme translations: wp-content/languages/themes/ (based on your choice). 

    If you have saved your translations inside the theme folder, always save a backup of languages/ folder (inside the theme) when there is a new theme update. After you update the theme (languages folder will be replaced with an empty folder), just move the backup files you previously saved to the same languages directory and your changes will still be applied.



    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  2
    Andrius replied

    Hi Art,

    thanks for coming back to me. I am using Loco Translate, but it doesn't seem to be working for Kalium. I'm attaching the screenshots.

    Should I be translating Kalium theme or the child theme based on Kalium? Also, as soon as I hit 'sync' most of the strings disappear.

    Let me know if you need more info.

    Thanks,
    Andrius

  •  1,558
    Laborator replied

    Hi Andrius,

    Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in the editor toolbar. (See how)

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   Andrius replied privately
  •  2
    Andrius replied

    It's a production site, so tread carefully ;)

  •  1,558
    Laborator replied

    Hi Andrius,

    In some cases where there are singular and plural forms you will have to populate both of them:

    5lcsdU.png

    I just tested it live in your site and it seems to work:

    ELLSXM.png


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group