Title: imomi's Replies | WordPress.org

---

# imomi

  [  ](https://wordpress.org/support/users/imomi/)

 *   [Profile](https://wordpress.org/support/users/imomi/)
 *   [Topics Started](https://wordpress.org/support/users/imomi/topics/)
 *   [Replies Created](https://wordpress.org/support/users/imomi/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/imomi/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/imomi/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/imomi/engagements/)
 *   [Favorites](https://wordpress.org/support/users/imomi/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Translation issues using polylang](https://wordpress.org/support/topic/translation-issues-using-polylang/)
 *  Thread Starter [imomi](https://wordpress.org/support/users/imomi/)
 * (@imomi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/translation-issues-using-polylang/#post-3172730)
 * Im so freakin’ happy! It does work!!
    PHP magic.. thanks Chouby
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Translation issues using polylang](https://wordpress.org/support/topic/translation-issues-using-polylang/)
 *  Thread Starter [imomi](https://wordpress.org/support/users/imomi/)
 * (@imomi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/translation-issues-using-polylang/#post-3172722)
 * Ok, this is the script with the options :
 *     ```
       <?php
       /*
       Plugin Name: Polylang translates bizway strings
       */
   
       if (function_exists('pll_register_string'))
               add_filter('option_bizway_options', 'translate_bizway_options');
   
       function translate_bizway_options($options) {
               $to_translate = array('bizway_first_head','bizway_second_head','bizway_firsthead','bizway_firstdesc','bizway_secondhead','bizway_seconddesc','bizway_thirdhead','bizway_thirddesc');
               foreach ($options as $key=>$option) {
                       if (in_array($key, $to_translate)) {
                               if (is_admin())
                                       pll_register_string($key, $option);
                               else
                                       $options[$key] = pll__($option);
                       }
               }
               return $options;
       }
       ```
   
 * I uploaded the file in wp_content/plugins and nothing happened.
    When I moved
   the file in wp_content/plugins/polylang and immediately said to install “update”
   so I did, but in settings->languages->strings translations there are no extra
   translation options. What am I doing wrong?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Translation issues using polylang](https://wordpress.org/support/topic/translation-issues-using-polylang/)
 *  Thread Starter [imomi](https://wordpress.org/support/users/imomi/)
 * (@imomi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/translation-issues-using-polylang/#post-3172718)
 * Chouby, I did what you said. Created a php file and pasted your code.
    Could 
   you please tell what kind of options do I need to enter in the array? I mean 
   the main text displaying is an h1 tag.. .Wordpress’s widget positions do not 
   exist, the only way I can edit the home page is from the backend
 * Pic1 : [https://www.dropbox.com/s/sju7ltg5a7ys3sz/Screen%20Shot%202012-11-10%20at%2010.51.48%20AM.png](https://www.dropbox.com/s/sju7ltg5a7ys3sz/Screen%20Shot%202012-11-10%20at%2010.51.48%20AM.png)
 * Pic2 : [https://www.dropbox.com/s/qdxd9y3cxyclc1w/Screen%20Shot%202012-11-10%20at%2010.52.08%20AM.png](https://www.dropbox.com/s/qdxd9y3cxyclc1w/Screen%20Shot%202012-11-10%20at%2010.52.08%20AM.png)
 * Thanks for helping me out!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Translation issues using polylang](https://wordpress.org/support/topic/translation-issues-using-polylang/)
 *  Thread Starter [imomi](https://wordpress.org/support/users/imomi/)
 * (@imomi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/translation-issues-using-polylang/#post-3172714)
 * of-course nothing happens…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Translation issues using polylang](https://wordpress.org/support/topic/translation-issues-using-polylang/)
 *  Thread Starter [imomi](https://wordpress.org/support/users/imomi/)
 * (@imomi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/translation-issues-using-polylang/#post-3172713)
 * Goodmorning/evening Chouby.
    There is no pll_bizway.php file on the server or
   locally. I’ll insert the script on polylang.php and see what happens.. :]
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Translation issues using polylang](https://wordpress.org/support/topic/translation-issues-using-polylang/)
 *  Thread Starter [imomi](https://wordpress.org/support/users/imomi/)
 * (@imomi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/translation-issues-using-polylang/#post-3172706)
 * Thank you Chouby, I’ll check it out soon and respond

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