Title: Translation Issue
Last modified: October 28, 2020

---

# Translation Issue

 *  [kajahal](https://wordpress.org/support/users/kajahal/)
 * (@kajahal)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/translation-issue-134/)
 * Hello,
 * we have translated “Print delivery note” with Loco translate plugin, but in bulk
   actions, it’s still shown in English. Before latest update it was showing the
   translation.
 * Also, how can I remove Print invoice and receipt from bulk actions, as we do 
   not need those. In settings I only have delivery notes enabled.
 * Thank you!

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

 *  [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/translation-issue-134/#post-13629965)
 * Chiming in here and tagging [@kenil802](https://wordpress.org/support/users/kenil802/)
   for visibility.
 * The bulk actions are not translatable via regular translations right now as the
   strings are hardcoded:
 *     ```
       $print_invoice_label                      = apply_filters( 'wcdn_change_text_of_print_invoice_in_bulk_option', 'Print Invoice' );
       $print_delivery_note_label                = apply_filters( 'wcdn_change_text_of_print_delivery_note_in_bulk_option', 'Print Delivery Note' );
       $print_receipt_label                      = apply_filters( 'wcdn_change_text_of_print_receipt_in_bulk_option', 'Print Receipt' );
       ```
   
 * I understand that I can use these filters to add my own translations but it makes
   more sense to make these translatable in the plugin itself:
 *     ```
       $print_invoice_label                      = apply_filters( 'wcdn_change_text_of_print_invoice_in_bulk_option', __('Print Invoice','woocommerce-delivery-notes' );
       $print_delivery_note_label                = apply_filters( 'wcdn_change_text_of_print_delivery_note_in_bulk_option', __('Print Delivery Note','woocommerce-delivery-notes' );
       $print_receipt_label                      = apply_filters( 'wcdn_change_text_of_print_receipt_in_bulk_option', __('Print Receipt','woocommerce-delivery-notes' );
       ```
   
 * [@kajahal](https://wordpress.org/support/users/kajahal/) a quick fix would be
   to add this to the themes `functions.php`:
 *     ```
       add_filter('wcdn_change_text_of_print_invoice_in_bulk_option', 'wcdn_translate_bulk_actions');
       add_filter('wcdn_change_text_of_print_delivery_note_in_bulk_option', 'wcdn_translate_bulk_actions');
       add_filter('wcdn_change_text_of_print_receipt_in_bulk_option', 'wcdn_translate_bulk_actions');
       function wcdn_translate_bulk_actions($bulk_action_text) {
       	return __($bulk_action_text,'woocommerce-delivery-notes');
       }
       ```
   
 * I also agree that the bulk actions should only be added if they have been enabled
   in the plugin settings.
 *  Thread Starter [kajahal](https://wordpress.org/support/users/kajahal/)
 * (@kajahal)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/translation-issue-134/#post-13638165)
 * Thank you!
 * That solved translation problem. 🙂 Now we need update to also fix bulk actions
   problem.
 *  [kenil802](https://wordpress.org/support/users/kenil802/)
 * (@kenil802)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/translation-issue-134/#post-13764470)
 * Hi [@kajahal](https://wordpress.org/support/users/kajahal/),
 * Apologies for the delay in response.
 * We will check the translation thing and will fix that in the next update and 
   currently, it is not possible to hide the other two options in the dropdown on
   the Order details page.
 * Regards,
    Kenil Shah

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

The topic ‘Translation Issue’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-delivery-notes/assets/icon-256x256.jpg?rev=2829362)
 * [Print Invoice & Delivery Notes for WooCommerce](https://wordpress.org/plugins/woocommerce-delivery-notes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-delivery-notes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-delivery-notes/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [kenil802](https://wordpress.org/support/users/kenil802/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/translation-issue-134/#post-13764470)
 * Status: not resolved