# Translation problem

**URL:** <https://colorlibsupport.com/t/translation-problem/12193>\
**Category:** Illdy\
**Created:** [September 15, 2016, 11:26am UTC](https://colorlibsupport.com/t/translation-problem/12193 "2016-09-15T11:26:41Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcinph](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@marcinph](https://colorlibsupport.com/u/marcinph)\
**Post date:** [September 15, 2016, 11:26am UTC](https://colorlibsupport.com/t/translation-problem/12193/1 "2016-09-15T11:26:41Z")

</div>

Hello.

I use Illdy theme. I am translating as described ([link](https://colorlib.com/wp/how-to-translate-wordpress-theme/)).

I can translate for example ‘Comments are off for this post’,  
but I can’t translate ‘search’ – I didn’t see it in pot file  
and I can’t translate ‘Read More’ – I see it in illdy.pot but if I change this text and save po file there is no change on my website.

For ‘Comments are off for this post’ there is no problem. I translated it, save it in the same po file and I see the change on my website.

I have my page local, using with XAMPP.

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [September 16, 2016, 11:53am UTC](https://colorlibsupport.com/t/translation-problem/12193/2 "2016-09-16T11:53:03Z")

</div>

Hello @marcinph,

I need to have a closer investigation of this issue and if there’s indeed some text strings missing we’ll include them in the upcoming theme update.

Sorry for the trouble!

Regards

---

<div class="post-metadata">

**Author:** ![marcinph](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@marcinph](https://colorlibsupport.com/u/marcinph)\
**Post date:** [September 19, 2016, 12:22pm UTC](https://colorlibsupport.com/t/translation-problem/12193/3 "2016-09-19T12:22:50Z")

</div>

Thank you!  
If you need any support by my side, please let me know.

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [September 19, 2016, 1:58pm UTC](https://colorlibsupport.com/t/translation-problem/12193/4 "2016-09-19T13:58:40Z")

</div>

Thank you for understanding!

If you can provide a couple of screenshots of where is the text that you cannot translate, that would be absolutely great!

Cheers

---

<div class="post-metadata">

**Author:** ![marcinph](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@marcinph](https://colorlibsupport.com/u/marcinph)\
**Post date:** [September 21, 2016, 6:26am UTC](https://colorlibsupport.com/t/translation-problem/12193/5 "2016-09-21T06:26:21Z")

</div>

On the red.

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [September 21, 2016, 10:56am UTC](https://colorlibsupport.com/t/translation-problem/12193/6 "2016-09-21T10:56:54Z")

</div>

Hello,

I see that all the homepage is in english, so can you please let me know what steps have you did until now towards the translation?

The read more text is already in languages \> illdy.pot file, so you can already deal with via that file.

The search box should be automatic translated because as far as I can tell that widget is coming from the default wordpress files and the translate plugin should deal with it automatically.

Now, for the dinamic fields from customizer, there are 2 ways to deal with them.  
First you fill the content and generate a new .pot file that includes that text string and you translate it there, or you use a plugin like qTranslate X that offers a custom field shortcode to deal with multiple languages: [:en]English Text[:de]Deutsch[:]

> **[Frequently Asked Questions](https://qtranslatexteam.wordpress.com/faq/#CustomFields)**
>
> Donate to plugin development. If you are new to qTranslate-X, please, read Startup Guide. If you think you encountered a bug, please follow the Troubleshooting Guide and then report it providing st…

Let me know if the above got you forward with the setup.

Regards

---

<div class="post-metadata">

**Author:** ![marcinph](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/c37758/32.png) [@marcinph](https://colorlibsupport.com/u/marcinph)\
**Post date:** [September 28, 2016, 7:32am UTC](https://colorlibsupport.com/t/translation-problem/12193/7 "2016-09-28T07:32:25Z")

</div>

Now is correct.

I deleted all the Illdy .pot .po and .mo files from server.  
Then I uploaded Illdy.pot once again.  
I installed Loco Translate plugin and now if I change ‘Read More’ and ‘Search’ I see it changed on my site.

I uninstalled Wp Fastest Cache plugin too.

But I don’t know where was the problem. First I set my native language in Wordpress settings. Then  
I translated with PoEdit or Loco Translate, but there was any change on my homepage. The text like ‘Search’ hadn’t translated automatically.

Thanks for the support!

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [September 28, 2016, 1:41pm UTC](https://colorlibsupport.com/t/translation-problem/12193/8 "2016-09-28T13:41:26Z")

</div>

That’s such great news and feedback, I’m very happy you got it fixed.

Thank you for the heads-up!

Enjoy the rest of the week.

---

<div class="post-metadata">

**Author:** ![fabe](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/f/6a8cbe/32.png) [@fabe](https://colorlibsupport.com/u/fabe)\
**Post date:** [September 30, 2016, 11:31am UTC](https://colorlibsupport.com/t/translation-problem/12193/9 "2016-09-30T11:31:22Z")

</div>

Another way to it. I use polylang functions.

You have to modify functions.php and each php where you want to translate.

For example, change “Contact-us” section title:  
-\> functions.php  
`pll_register_string( ‘Contact-us’, get_theme_mod( ‘illdy_contact_us_general_title’, __( ‘Contact us’, ‘illdy’ ) ), ‘illdy’ );’`  
-\>front-page-contact-us.php

```auto
<?php if( $general_title ): ?>
  <div class="col-sm-12">
	 <h3><?php echo illdy_sanitize_html( pll_e( $general_title ) ); ?></h3>
  </div><!--/.col-sm-12-->
<?php endif; ?>

```

Hope it’s help you.  
My web: [www.autentiks.com](http://www.autentiks.com) to check it

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [October 3, 2016, 11:25am UTC](https://colorlibsupport.com/t/translation-problem/12193/10 "2016-10-03T11:25:29Z")

</div>

Once again, thank you @fabe for the valuable knowledge on how to achive the theme translation via PolyLang plugin.

Bests!

---

<div class="post-metadata">

**Author:** ![fabe](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/f/6a8cbe/32.png) [@fabe](https://colorlibsupport.com/u/fabe)\
**Post date:** [October 3, 2016, 11:39am UTC](https://colorlibsupport.com/t/translation-problem/12193/11 "2016-10-03T11:39:33Z")

</div>

Thanks a lot @Ion for your work. It’s just amazing. 😉

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [October 3, 2016, 11:42am UTC](https://colorlibsupport.com/t/translation-problem/12193/12 "2016-10-03T11:42:03Z")

</div>

Thank you! Statements like this makes it even better 🙂

---

<div class="post-metadata">

**Author:** ![storlab](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/s/9de053/32.png) [@storlab](https://colorlibsupport.com/u/storlab)\
**Post date:** [September 16, 2017, 9:16am UTC](https://colorlibsupport.com/t/translation-problem/12193/13 "2017-09-16T09:16:16Z")

</div>

Hi…I had this working briefly with the illdy theme. I am integrating both English and Mandarin “Simple Chinese”. I am using Polylang for the posts and pages…and it has create dual pages for these and this seems to be working fine. I have implemented the code as you suggested and like I said it was working initially.

I think it broke when I updated the jumbotron from within the theme editor. I am using the illdy.po file and then I save it as zh\_CN.po and I use poedit to generate a zh\_CN.mo file and I’ve upgraded them both the server.

I have also created a child theme so that I don’t loose my customizations as I upgrade and update files. I have the languages PO files in the child theme as well as the illdy parent theme.

Any suggestions on why my string replacements with PO are not working all of the sudden? I am spinning my wheels and wasting a lot of time. This is frustrating… ☹

---

<div class="post-metadata">

**Author:** ![laranz](https://colorlibsupport.com/user_avatar/colorlibsupport.com/laranz/32/362_2.png) [@laranz](https://colorlibsupport.com/u/laranz)\
**Post date:** [September 18, 2017, 6:07am UTC](https://colorlibsupport.com/t/translation-problem/12193/14 "2017-09-18T06:07:09Z")

</div>

Hi,

You loaded the text domain correctly? [load\_child\_theme\_textdomain() | Function | WordPress Developer Resources](https://developer.wordpress.org/reference/functions/load_child_theme_textdomain/#user-contributed-notes)

If that fails, can you try [Loco Translate – WordPress plugin | WordPress.org](https://wordpress.org/plugins/loco-translate/) plugin a go. Take a backup of your translated .po files just in case.

Let us know,

Thanks,  
laranz.

---

<div class="post-metadata">

**Author:** ![dreelies](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@dreelies](https://colorlibsupport.com/u/dreelies)\
**Post date:** [February 20, 2023, 7:20pm UTC](https://colorlibsupport.com/t/translation-problem/12193/15 "2023-02-20T19:20:37Z")

</div>

I have the same problem and i tried different things, but i cannot fix it.  
My website is www.zen50plus.nl

---

<div class="post-metadata">

**Author:** ![dreelies](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/d/ee7513/32.png) [@dreelies](https://colorlibsupport.com/u/dreelies)\
**Post date:** [February 20, 2023, 7:23pm UTC](https://colorlibsupport.com/t/translation-problem/12193/16 "2023-02-20T19:23:55Z")

</div>

Sorry, I just changed the language settings from ‘Nederlands Formeel’ to “Nederlands” and now is my problem solved. Sorry I bothered.

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [February 21, 2023, 7:45am UTC](https://colorlibsupport.com/t/translation-problem/12193/17 "2023-02-21T07:45:54Z")

</div>

Okay, thanks for updating us 🙂

Regards

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [February 21, 2023, 7:46am UTC](https://colorlibsupport.com/t/translation-problem/12193/18 "2023-02-21T07:46:00Z")

</div>


