Title: Language problem
Last modified: December 10, 2021

---

# Language problem

 *  Resolved [danrh14](https://wordpress.org/support/users/danrh14/)
 * (@danrh14)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/language-problem-75/)
 * Hi I am having problems with the translations, when I update via Loco the changes
   are only displayed on the administrator side, but when I enter the seller mode
   in dokan it comes out with another translation.
 * [http://prntscr.com/22nsbpq](http://prntscr.com/22nsbpq)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flanguage-problem-75%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * (@yordansoares)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/language-problem-75/#post-15153226)
 * Hello [@danrh14](https://wordpress.org/support/users/danrh14/),
 * Do you have set your admin language based on **Site default** under **Users >
   Profile > Language**? I’m thinking that maybe you have two Spanish locales working
   in your site, e.g. _Spanish (Peru_) for the admin user and _Spanish (Spain)_ 
   for your site (you can find this setting under **Settings > General > Site Language**).
   If so, it’s possible that you have only updated the _Spanish (Peru)_ translation,
   and then you’re seeing two translations because our plugin choose the invoice
   language based on the active user language.
 * Anyway, if you only need to update the invoice label, maybe it’s better using
   this code snippet to do it:
 *     ```
       /**
        * Change the invoice title to 'Etiqueta'
        */
       add_filter( 'wpo_wcpdf_invoice_title', 'wpo_wcpdf_invoice_title', 10, 2 );
       function wpo_wcpdf_invoice_title ( $title, $document ) {
       	$title = 'Etiqueta';
       	return $title;
       }
       ```
   
 * If you haven’t worked with code snippets (actions/filters) or functions.php before,
   read this guide: [How to use filters](https://docs.wpovernight.com/general/how-to-use-filters/)
 * Let me know what approach you chose! 😉

Viewing 1 replies (of 1 total)

The topic ‘Language problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Yordan Soares](https://wordpress.org/support/users/yordansoares/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/language-problem-75/#post-15153226)
 * Status: resolved