Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1259704
Change language on submenu
Closed

Comments

  • mustiej started the conversation

    Hi!

    I had a question regarding the mobile submenu on the attorney theme of TheGem. On mobile, if you have a submenu it gives you a button called 'back' to go back to the main menu. My question is, how can I change the word 'back' to any other word?

    Thank you for your time.

    Kind regards,

    Mustafa

  •  7,092
    Oliver replied

    HI!

    You can edit

    /wp-content/themes/thegem/functions.php:

    'backLabel' => esc_html__('Back', 'thegem'),

    or

    1. Take file languages/thegem.pot or xx_YY.po from theme directory.

    2. Open this file with Poedit software.

    3. Translate necessary strings to your language.

    4. In software open Catalog - Settings and set Language to Translation to xx_YY.

    5. Then save the file as thegem-xx_YY. (You must have two files thegem-xx_YY.po and thegem-xx_YY.mo.)

    6. These files you need to put to the wp-content/languages/themes of your site.

    With the same operation, you can translate TheGem elements plugin.

    Just put  translations in wp-content/languages/plugins

     


    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • mustiej replied

    Thanks alot. I got it working!