Okay
  Public Ticket #1006029
Translation, comments
Closed

Comments

  •  2
    lintonform started the conversation

    Hi!

    On the comment section under blog post there is a problem for me.

    In english its the same word on the heading (1 in attached image) and the send button (2 in attached image) this becames really strange in swedish

    I would like to have 2 different translations for this, is that possible?

  •  1,558
    Laborator replied

    Hi there,

    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 in your WordPress site.

    1. Then go to Loco Translate > Manage Translations
    2. Click "New Language" for the current 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 theme folder, always save a backup of *languages/* folder (inside the theme) when there is 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
    lintonform replied

    I know how to use loco, the thing is that when i translate the Word "comment" it Changes both the heading and the button as i show in the attached image and i wonder if its possible to have different Words somehow?

  •  1,558
    Laborator replied

    Hi there,

    The only way to do this is by editing the core files of the theme, you will need to edit the comments.php file to change it.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group