Title: Changing names
Last modified: September 7, 2020

---

# Changing names

 *  Resolved [gstar](https://wordpress.org/support/users/gstar/)
 * (@gstar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/)
 * I tried to translate the invoice to our language and all works except for these
   words:
 * INVOICE
    SHIPPING
 * Any ideas what I am missing?

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

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13380796)
 * If you’re using just the free plugin, then translating the name invoice should
   normally work fine. But if you have the Professional extension, then the document
   title can be [overriden via the document settings](https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/change-the-document-title/),
   in which case changing the string in the plugin translations has no effect.
 * Where do you see the word shipping? Is it possible this is simply the name of
   the shipping method itself (in your WooCommerce settings)? Some of the strings
   also come from the WooCommerce textdomain (primarily those in the order totals
   of the Simple template).
 * If you are using any of the paid extensions (Premium Templates or Professional),
   not all of the answers above may apply in the same way.
 *  Thread Starter [gstar](https://wordpress.org/support/users/gstar/)
 * (@gstar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13380868)
 * I am using the free plugin and translated INVOICE to FACTURA in the file invoice.
   php:
 * <th><?php _e( ‘Factura:’, ‘woocommerce-pdf-invoices-packing-slips’ ); ?></th>
   
   <td><?php $this->invoice_number(); ?></td>
 * The word shipping is nowhere to be found in that file?
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13380980)
 * If you’re translating, you should either modify the the translations directly(
   using Loco Translate or POEdit). or just put the string without the translation:
 *     ```
       <th>Factura:</th>
       ```
   
 * If you are referring to shipping in the order totals, this is a string from WooCommerce.
   You’d have to edit the WooCommerce translations (with one of the above tools)
   to change that.
 *  Thread Starter [gstar](https://wordpress.org/support/users/gstar/)
 * (@gstar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13381507)
 * I am still seeing a huge title INVOICE just below the logo.
 *     ```
       	<tr>
       		<td class="header">
       		<?php
       		if( $this->has_header_logo() ) {
       			$this->header_logo();
       		} else {
       			echo $this->get_title();
       		}
       		?>
       		</td>
       		<td class="shop-info">
       			<div class="shop-name"><h3><?php $this->shop_name(); ?></h3></div>
       			<div class="shop-address"><?php $this->shop_address(); ?></div>
       		</td>
       	</tr>
       ```
   
 * I assume its coming from here?
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13382378)
 * There are two locations for the title. This one shows if you haven’t set a logo:
   
   [https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/blob/v2.6.0/templates/Simple/invoice.php#L11](https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/blob/v2.6.0/templates/Simple/invoice.php#L11)
 * and this one shows if you do have a logo:
    [https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/blob/v2.6.0/templates/Simple/invoice.php#L22-L24](https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/blob/v2.6.0/templates/Simple/invoice.php#L22-L24)
 *  Thread Starter [gstar](https://wordpress.org/support/users/gstar/)
 * (@gstar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13382579)
 * Yes but how do I change it?
 * `<?php if( $this->has_header_logo() ) echo $this->get_title(); ?>`
 *  Thread Starter [gstar](https://wordpress.org/support/users/gstar/)
 * (@gstar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13382584)
 * I see nowhere the word invoice to replace
 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13382664)
 * You can replace that entire line
 *     ```
       <?php if( $this->has_header_logo() ) echo $this->get_title(); ?>
       ```
   
 * “Invoice” comes from `$this->get_title()`
 *  Thread Starter [gstar](https://wordpress.org/support/users/gstar/)
 * (@gstar)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13382722)
 * Perfect! Now its just the filename that it saves still with the word invoice–
   44444 and the word SHIPPING?

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

The topic ‘Changing names’ 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/)

 * 9 replies
 * 2 participants
 * Last reply from: [gstar](https://wordpress.org/support/users/gstar/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/changing-names-3/#post-13382722)
 * Status: resolved