Okay
  Public Ticket #898562
Translate Strings
Closed

Comments

  •  8
    Christina started the conversation

    Hi,

    I would like to display an arrow instead of and  on a PC (same as what is already setup on mobile) since my client lives in Switzerland. I would also like to change "No more portfolio items to show" and the word "ALL" on the portfolio menu. What do you suggest would be the best way to do that? I would rather not have to pay for the WPML plugin. 

    Thank you!

  • [deleted] replied

    Hi Christina,

    1— Can you please add the code below to Custom CSS

    .portfolio-big-navigation.portfolio-navigation-type-simple .pc-only {
        display: none !important;
    }
    
    .portfolio-big-navigation.portfolio-navigation-type-simple .mobile-only i {
        display: block !important;
    }

    2— 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.

  •  8
    Christina replied

    1. Custom CSS worked perfectly. Thank you!

    2. I tried installing Loco Translate yesterday after reading some of your support tickets with people who were experiencing similar issues. It was still showing "No more portfolio items to show". I tried installing it again and it is still showing "No more portfolio items to show". That is the only string that is visible to the French user that might be an issue. 

    Thank you,

    Christina

  •  1,558
    Laborator replied

    Hi Christina,

    Can you please send us your WordPress username and password? We need to investigate your site and then get back to you if we have a possible solution.

    Make sure to choose Private Reply when you send us sensitive informations!


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   Christina replied privately
  •  1,558
    Laborator replied

    Hi Christina,

    I managed to translate them both by simply adding the English language as a translation to Kalium theme via Loco Translate and then searched for the strings, added a - CH to them both so you can see them.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  8
    Christina replied

    Thank you Art. Since it was only two strings that I wanted to translate I went directly into the PHP file and changed it there and deleted Loco Translate plugin. If need be I will add them back with updates.

    Again, thank you for  your help. I appreciate it.

    Christina


  •  1,558
    Laborator replied

    Okay then Christina, glad to hear that you managed to fix it somehow.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group