leave a comment how can i translate the sentence

arawolf
314 Posts
arawolf posted this 08 June 2021

How can i change the sentence "leave a comment" into an other sentence in a wordpress site. Thnxs.

How can i change the sentence "leave a comment" into an other sentence in a wordpress site. Thnxs.
Vote to pay developers attention to this features or issue.
10 Comments
Order By: Standard | Newest
Support Team posted this 08 June 2021

Hello Kris,

Try adding translation in Themler -> Home -> Settings -> CMS CODE:

add_filter( 'gettext', 'wps_translate_words_array' );
add_filter( 'ngettext', 'wps_translate_words_array' );
function wps_translate_words_array( $translated ) {
$words = array(
// 'word to translate' = > 'translation'
'Leave a comment' => 'Your translation',
);
$translated = str_ireplace( array_keys($words), $words, $translated );
return $translated;
}

Update translation there as needed.

Gina
Themler support

Hello Kris, Try adding translation in Themler -> Home -> Settings -> CMS CODE: add_filter( 'gettext', 'wps_translate_words_array' ); add_filter( 'ngettext', 'wps_translate_words_array' ); function wps_translate_words_array( $translated ) { $words = array( // 'word to translate' = > 'translation' 'Leave a comment' => 'Your translation', ); $translated = str_ireplace( array_keys($words), $words, $translated ); return $translated; } Update translation there as needed. Gina Themler support
arawolf
314 Posts
arawolf posted this 09 June 2021

perfect support ;) thnxs

perfect support ;) thnxs
dietrichvidal
3 Posts
dietrichvidal posted this 08 August 2023

Make the necessary translation updates there. wordle today

Make the necessary translation updates there. [wordle today][1] [1]: https://wordletoday.io/
kelseyradleyyy
7 Posts
kelseyradleyyy posted this 05 September 2023

There, adjust the translation as appropriate. tunnel rush

There, adjust the translation as appropriate. [tunnel rush][1] [1]: https://tunnel-rush.co/
michaelarringtony
1 Posts
michaelarringtony posted this 28 September 2023

Using a child theme is the most secure way to make changes to your theme files because it won't be affected by theme updates cookie clicker

Using a child theme is the most secure way to make changes to your theme files because it won't be affected by theme updates [cookie clicker][1] [1]: https://cookieclicker2.org
ocw555flebie4
1 Posts
ocw555flebie4 posted this 11 March 2024

The safest approach to edit your theme files is with a child theme, since it will remain cluster rush unaffected by theme updates.

The safest approach to edit your theme files is with a child theme, since it will remain [cluster rush][1] unaffected by theme updates. [1]: https://clusterrush.io

Last edited 11 March 2024 by ocw555flebie4

problemtrick
1 Posts
problemtrick posted this 04 April 2024

We appreciate you taking the time to provide us with this crucial information. You wrote a pretty well-written and insightful post
Trickproblem

We appreciate you taking the time to provide us with this crucial information. You wrote a pretty well-written and insightful post [Trickproblem][1] [1]: https://trickproblems.com/
tellagraphh
3 Posts
tellagraphh posted this 15 April 2024

Discover the latest tech trends with our in-depth articles, reviews, tips, tutorials, and news From AI to blockchain, virtual reality, cybersecurity, and more. Navigate the ever-changing landscape of tech with confidence. Checkout Tellagraph For More

Discover the latest tech trends with our in-depth articles, reviews, tips, tutorials, and news From AI to blockchain, virtual reality, cybersecurity, and more. Navigate the ever-changing landscape of tech with confidence. Checkout [Tellagraph][1] For More [1]: https://tellagraph.com/
tellagraphh
3 Posts
tellagraphh posted this 4 days ago

One of the tests in the Gauntlet of Shar in Baldur’s Gate 3 is the faith leap trial bg3. Players must follow an unseen road to pass this exam, and when they do, they can claim an Umbral Gem. This guide will assist gamers who might be having trouble with faith leap trial bg3

One of the tests in the Gauntlet of Shar in Baldur’s Gate 3 is the [faith leap trial bg3][1]. Players must follow an unseen road to pass this exam, and when they do, they can claim an Umbral Gem. This guide will assist gamers who might be having trouble with faith leap trial bg3 [1]: https://tellagraph.com/faith-leap-trial-bg3/
tellagraphh
3 Posts
tellagraphh posted this 4 days ago

The main purpose of a baby monitor is to watch your child when you’re not in the same room. There are several gadgets on the best non wifi baby monitor market that do far more than just fulfill their intended purpose.

The main purpose of a baby monitor is to watch your child when you’re not in the same room. There are several gadgets on the [best non wifi baby monitor][1] market that do far more than just fulfill their intended purpose. [1]: https://tellagraph.com/best-non-wifi-baby-monitor/
You must log in or register to leave comments