Title: Plugin frontend translation
Last modified: September 18, 2017

---

# Plugin frontend translation

 *  Resolved [hkfooeyz](https://wordpress.org/support/users/hkfooeyz/)
 * (@hkfooeyz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-frontend-translation/)
 * Hey!
 * I was wondering if there was a way to translate the frontend of this plugin on
   a multilanguage website. I tried with PoEdit but no success. Thank you!

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

 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-frontend-translation/#post-9509987)
 * Hi [@hkfooeyz](https://wordpress.org/support/users/hkfooeyz/),
 * Since our plugins do not have the translate option you can use the WPML plugins
   with woocommerce multilingual, that can be used to have different languages in
   the front end shop.
 *  Thread Starter [hkfooeyz](https://wordpress.org/support/users/hkfooeyz/)
 * (@hkfooeyz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-frontend-translation/#post-9511682)
 * Hi,
 * Thank you for your reply. I’ve been using polylang for the multilingual part 
   of my website. Everything is translated besides this plugin. I created a template
   for the plugin and a custom translation. Unfortunatly the translation is not 
   showing on the front end shop. Do I have to add some code to any php file? Should
   I move the .po and .mo files to a specific location? Should I ask Loco Translate?
   What’s your take on this? Thank you for your time.
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-frontend-translation/#post-9512752)
 * Hi
 * You do the following to translate :
 * -Create PO and MO file by using POEdit in to a dirctory ‘language’ on root folder
   -
   The files sould named as below format: wf-shipping-canada-post_<Language code
   > -Load Text domain in plugin root file (canada-post-woocommerce-shipping.php)
   eg: load_plugin_textdomain( ‘wf-shipping-canada-post’, false, dirname( plugin_basename(
   __FILE__ ) ) . ‘/languages/’ );
 * This should do the job.
 * This is hardly a half hour work.
    Do let us know if you have any query.
 *  Thread Starter [hkfooeyz](https://wordpress.org/support/users/hkfooeyz/)
 * (@hkfooeyz)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-frontend-translation/#post-9514775)
 * Hi
 * Again, thank you for your help.
    I have a very basic understanding of programming.
   Where in the (canada-post-woocommerce-shipping.php) should I add those lines?
   Do I need to create a new function or insert it in an existing function?
 * So sorry for bothering you!
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-frontend-translation/#post-9516658)
 * Hi [@hkfooeyz](https://wordpress.org/support/users/hkfooeyz/),
 * You can add that code anywhere outside the function, preferably in the bottom
   or the top where it will be easy to find it in case you want to edit or remove
   it.

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

The topic ‘Plugin frontend translation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/canada-post-woocommerce-shipping_00488f.
   svg)
 * [WooCommerce Canada Post Shipping](https://wordpress.org/plugins/canada-post-woocommerce-shipping/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/canada-post-woocommerce-shipping/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/canada-post-woocommerce-shipping/)
 * [Active Topics](https://wordpress.org/support/plugin/canada-post-woocommerce-shipping/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/canada-post-woocommerce-shipping/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/canada-post-woocommerce-shipping/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [xadapter](https://wordpress.org/support/users/xadapter/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/plugin-frontend-translation/#post-9516658)
 * Status: resolved