Title: Theme translate
Last modified: August 30, 2016

---

# Theme translate

 *  Resolved [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/)
 * I registered string in my functions.php
 * I show the string in “Strings Translation”
 * I put this in my footer.php file to echo the string:
 * `<p id="footer-info"><?php pll_e($footer-text, MyTheme); ?></p>`
 * In the footer it shows the number 0
 * [http://dev.workforcesoftware.com/](http://dev.workforcesoftware.com/)
 * Your help is appreciated:)
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/theme-translate/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-translate/page/2/?output_format=md)

 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686785)
 * Hi
    What did you put in `$footer-text`?
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686834)
 * Hi Chrysti,
 * My function in functions.php:
 * `pll_register_string('footer_text', 'My test text', 'Divi');`
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686905)
 * Is the `$footer-text` value is `pll_register_string('footer_text', 'My test text','
   Divi');` ?
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686927)
 * yes
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686939)
 * Please try with:
    pll_e( ‘footer_text’ )
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686944)
 * That prints “footer_text” to the footer, not “My test text”. Thank you for your
   continued help:)
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686946)
 * What did you fill in your Strings translations option for footer_text (Settings
   > Languages > Strings translation tab)?
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686949)
 * That was automatically populated with “My test text”. I clicked save button anyhow
   to see if that would instantiate the text. Nothing. I reverted back to the default
   theme footer code and asked the theme author for assistance. This should show
   in the Strings Translation. The only option I have for string translation with
   this theme is the divi_date_format this is also the only option in the wpml-config.
   xml
    file aside from the SEO options which I am not using.
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686951)
 * Could you paste here the wpml-config.xml?
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686959)
 * Here is the master for this theme: [https://github.com/kennethryerson/Divi/blob/master/wpml-config.xml](https://github.com/kennethryerson/Divi/blob/master/wpml-config.xml)
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6686964)
 * It does help.
    Go in your database in the wp_options table and try to find the
   option name where are stored all the theme options. Copy/paste here the option_value
   and give me the option_name.
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-translate/#post-6687096)
 * What option are you looking for, as I do not understand what you are asking me
   to find. There are many option for the Divi them in the options table. I have
   also contacted the theme author with this issue and was told that it is a plugin
   issue and that I should use WPML. So, I am hoping you can resolve this issue.
   Thanks:)
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/theme-translate/#post-6687104)
 * I am trying this again. Please see my code blow. It doesn’t work and nothing 
   is shown but empty paragraph tags in source code. Any ideas?
 * functions.php:
 *     ```
       if(function_exists('pll_register_string')){
       pll_register_string($copyright, 'Copyright © 1999 - 2015 My Company', 'ThemeName');
       }
       ```
   
 * footer.php:
 * `<p id="footer-info"><?php pll_e($copyright); ?></p>`
 *  Plugin Support [Chrystl](https://wordpress.org/support/users/chrystl/)
 * (@chrystl)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/theme-translate/#post-6687106)
 * There a short tutorial to use pll_register_string and pll_e: [http://nimb.ws/vNVnMf](http://nimb.ws/vNVnMf)
 * Does it help?
 *  Thread Starter [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * (@clane_workforce)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/theme-translate/#post-6687108)
 * Yes this fixed the issue, thank you so much!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/theme-translate/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/theme-translate/page/2/?output_format=md)

The topic ‘Theme translate’ 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/)

## Tags

 * [pll_e](https://wordpress.org/support/topic-tag/pll_e/)
 * [pll_register_string](https://wordpress.org/support/topic-tag/pll_register_string/)

 * 16 replies
 * 2 participants
 * Last reply from: [clane_workforce](https://wordpress.org/support/users/clane_workforce/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/theme-translate/page/2/#post-6687173)
 * Status: resolved