Comments 1Vitor started the conversationMay 15, 2017 at 6:55amHi,I would like to know how I can translate it, I attached a screenshot.Thanks,Vitor 7,092Oliver repliedMay 15, 2017 at 7:02amHI!1. Take file languages/thegem.pot or xx_YY.po from theme directory . 2. Open 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 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 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 1Vitor repliedMay 15, 2017 at 1:13pmHi,I've already found other solution.Here is the solution:- Go to Appearance - Editor and select content-page.php - Search for Next and Prev 'thegem_portfolios')) : ?><?php thegem_button(array('text' => __('Av Avant ', 'thegem'),'href' => get_permalink($thegem_nav_post->ID),'style' => 'outline','size' => 'tiny','position' => $thegem_pf_data['fullwidth'] ? 'inline' : 'left','icon' => 'prev','border_color' => thegem_get_option('button_background_hover_color'),'text_color' => thegem_get_option('button_background_hover_color'),'hover_background_color' => thegem_get_option('button_background_hover_color'),'hover_text_color' => thegem_get_option('button_outline_text_hover_color'),'extra_class' => 'block-portfolio-navigation-prev'), 1); ?><?php endif; ?><?php if($thegem_nav_post = get_next_post(false, '', 'thegem_portfolios')) : ?><?php thegem_button(array('text' => __('Après', 'thegem'),'href' => get_permalink($thegem_nav_post->ID),'style' => 'outline','size' => 'tiny','position' => $thegem_pf_data['fullwidth'] ? 'inline' : 'right', Thanks 7,092Oliver repliedMay 15, 2017 at 1:40pmIn this way, you need to copy content-page.php to the child theme for safety update. Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver 1Vitor repliedMay 16, 2017 at 10:37amThanks Gregor Sign in to reply ...
Hi,
I would like to know how I can translate it, I attached a screenshot.
Thanks,
Vitor
HI!
1. Take file languages/thegem.pot or xx_YY.po from theme directory .
2. Open 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 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 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
Hi,
I've already found other solution.
Here is the solution:
- Go to Appearance - Editor and select content-page.php
- Search for Next and Prev
'thegem_portfolios')) : ?>
<?php thegem_button(array(
'text' => __('Av
Avant
', 'thegem'),
'href' => get_permalink($thegem_nav_post->ID),
'style' => 'outline',
'size' => 'tiny',
'position' => $thegem_pf_data['fullwidth'] ? 'inline' : 'left',
'icon' => 'prev',
'border_color' => thegem_get_option('button_background_hover_color'),
'text_color' => thegem_get_option('button_background_hover_color'),
'hover_background_color' => thegem_get_option('button_background_hover_color'),
'hover_text_color' => thegem_get_option('button_outline_text_hover_color'),
'extra_class' => 'block-portfolio-navigation-prev'
), 1); ?>
<?php endif; ?>
<?php if($thegem_nav_post = get_next_post(false, '', 'thegem_portfolios')) : ?>
<?php thegem_button(array(
'text' => __('Après', 'thegem'),
'href' => get_permalink($thegem_nav_post->ID),
'style' => 'outline',
'size' => 'tiny',
'position' => $thegem_pf_data['fullwidth'] ? 'inline' : 'right',
Thanks
In this way, you need to copy content-page.php to the child theme for safety update.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Thanks Gregor