Title: [Plugin: Polylang] Changing theme options
Last modified: August 20, 2016

---

# [Plugin: Polylang] Changing theme options

 *  Resolved [miguel_k](https://wordpress.org/support/users/miguel_k/)
 * (@miguel_k)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-polylang-changing-theme-options/)
 * Hi,
    I’m using polylang in this site [http://www.miguelcarrillo.co/kozii3/](http://www.miguelcarrillo.co/kozii3/)
   with Nice Hotel Template (A premium Themforest Template). The home page has a
   lot of customizable fields that I need to translate.
 * I used pll_register_string() in
    /themes/nice_hotel/admin/functions/functions.
   admin.php
 * like this:
    `pll_register_string('custom',$data['homepage_block_title_1']);`
 * just to try to change one field. Now is showing correctly on the strings translations
   database, but when I go to the page
    [http://www.miguelcarrillo.co/kozii3/home_es/](http://www.miguelcarrillo.co/kozii3/home_es/)
   it remains untranslated…any suggestions?
 * Bare in mind my php knowledge is extremly poor
 * Thanks!
 * [http://wordpress.org/extend/plugins/polylang/](http://wordpress.org/extend/plugins/polylang/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-changing-theme-options/#post-3125538)
 * You already made half the work!
 * Now you have to find where the string is displayed on frontend and replace `$
   data['homepage_block_title_1']` by `pll__($data['homepage_block_title_1'])`
 *  Thread Starter [miguel_k](https://wordpress.org/support/users/miguel_k/)
 * (@miguel_k)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-polylang-changing-theme-options/#post-3125539)
 * It worked! Thanks a lot! Oh happiness is good to have you back…
 *  [enovtec](https://wordpress.org/support/users/enovtec/)
 * (@enovtec)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-polylang-changing-theme-options/#post-3125683)
 * Hi there, I’m using this theme for my new website project [http://healthpress.inspirythemes.com/](http://healthpress.inspirythemes.com/)
   I’m building it here; [http://enovtec.com/devtick](http://enovtec.com/devtick)
 * The content of home page is coming from theme options The services blurbs, doctors,
   testimonials, everything inserted from theme options. can you please tell me 
   a solution how i can translate that content ?? if the above solution works for
   me where do i start ?
 * Thanks
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-polylang-changing-theme-options/#post-3125684)
 * Please don’t ask the same question on several posts. I does not help for support.
   See [http://wordpress.org/support/topic/polylang-and-simplify-theme?replies=10#post-4066620](http://wordpress.org/support/topic/polylang-and-simplify-theme?replies=10#post-4066620)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Polylang] Changing theme options’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-polylang-changing-theme-options/#post-3125684)
 * Status: resolved