Find Answers and Get Support › Forums › Sinclair – Political & Donations WordPress Theme › Translations › Changing language of some text
- This topic has 1 reply, 2 voices, and was last updated 4 years ago by
Manathan.
-
AuthorPosts
-
BurakParticipant@emekciler
- 2 Topics
- 2 Posts
Hi,
I am writing this for SINCLAIR theme. I bought it. I could not find Sinclair theme option on support form.
I want to change some text on website you can check attached images. I changed the code:
Lines 288, 294, 429 and 435 on template-functions. php:
esc_html_e( ‘Continue reading’, ‘sinclair’ ); –> esc_html_e( ‘Test’);
It does not affect. Also I have the same problem for ‘Search Results for:’ text.
I changed the code lines 24 on search.php 83 on template-functions.php:
esc_html__( ‘Search Results for: %s’, ‘sinclair’ ) –> esc_html__( ‘test: %s’)
It does not affect also. How can I change these texts ?
Thanks.
Screen-Shot-2021-05-12-at-13.50.02
Screen-Shot-2021-05-12-at-13.49.48
Screen-Shot-2021-05-12-at-13.49.37
Screen-Shot-2021-05-12-at-13.47.31
May 12, 2021 at 12:51 #31454@themodactyl- 0 Topics
- 6758 Posts
Hi Burak, 🙂
Thank you for buying our theme. We hope it will meet all your expectations!
To change these words, the best practise is to translate these strings. The “continue reading” string is located in the grimlock.pot file. You need to translate this file and place the grimlock-your-language-code.mo and grimlock-your-language-code.po in wp-content > languages > plugins.
We wrote a tutorial in our documentation about this. To find out more, please click on the following link: Translating Grimlock
Let me know if you need more explanation.
If you have further questions or requests, feel free to create other forum topics. We remain available for all matters related with our theme!
Cheers,
May 12, 2021 at 13:04 #31457 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Changing language of some text’ is closed to new replies.