WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce PDF Invoices
Can't figure out how to translate (11 posts)

  1. Jooye
    Member
    Posted 6 months ago #

    Hi there, i know this have been covered erlier, but now it says the plugin is "Rady for translation" But i can't figure out where, or how i can translate it :s

    We're sending out A LOT of invoices today, and im in charge of it, and my boss is yelling at me because they're in english, instead of Norwegian.

    Could i please get som pointers on how i can translate the plugin? : )

    Thanks in advance

    https://wordpress.org/plugins/woocommerce-pdf-invoices/

  2. Jooye
    Member
    Posted 6 months ago #

    Anyone online who can answer this? I found the "woocommerce-pdf-invoices/mpdf/config_cp.php" and there are some language options there, but how do i set the "no" to true, or change the language? What do i write or change? : P

  3. Jooye
    Member
    Posted 6 months ago #

    Anyone online who can answer this? I found the "woocommerce-pdf-invoices/mpdf/config_cp.php" and there are some language options there, but how do i set the "no" to true, or change the language? What do i write or change? : P

  4. baaaaas
    Member
    Plugin Author

    Posted 6 months ago #

    You have to create a POT file and add it to the woocommerce-pdf-invoices/lang folder. Call this file woocommerce-pdf-invoices-nb_NO or woocommerce-pdf-invoices-nn_NO. I don't know wich one, but you can find this in your wp-config file in the root folder of wordpress and look for WP-LANG. You can also simply try both names or even add both files. ;)

    If you have any questions let me know.

  5. Jooye
    Member
    Posted 6 months ago #

    I've been trying to figure this out for an hour now : s The tutorial on how to create the .pot file is way too misleading, concidering it's for mac, and the windows program is obviously way different. : s You got any ideas on how to do this on poedit for windows, or should i just continue googling?

  6. baaaaas
    Member
    Plugin Author

    Posted 6 months ago #

    Hello,

    I will help you out. If you give me all the translations, I will make the POT file and send it back to you so you can add it to the plugin.

    These are all the translatables.

  7. Jooye
    Member
    Posted 6 months ago #

    Wow, really? Talk about good service, 5 star rating incoming ;)

    Do you mean like this? :

    Invoice = Faktura
    Invoice number = Fakturanummer
    Date = Dato
    To = til
    Ship to = Send til
    Notes= Merknader
    SKU = VE
    Description= Beskrivelse
    Quantity= Antall
    Unit Price= Pris per antall
    Total= Totalt
    Discount= Rabatt
    Subtotal= Delsum
    Shipping= Frakt
    Grand Total= Totalsum
    Page %s of %s= Side %s av %s

    I really appreciate your help man

  8. baaaaas
    Member
    Plugin Author

    Posted 6 months ago #

    Download this zip-file and place all the files in you lang folder. You can change this file easily with POEDIT.

  9. Jooye
    Member
    Posted 6 months ago #

    Worked like a charm ;) Thanks man, really appreciate it!

    Thumbs up for you, you seem like the only developer that actually cares about how your plugin works for EVERYone.

  10. baaaaas
    Member
    Plugin Author

    Posted 6 months ago #

    With plesure, thank you! Please rate my plugin. I would really appreciate it. :)

  11. Atticusbcn
    Member
    Posted 4 months ago #

    Hi baaaaas,

    Congratulations for your great plug in.

    I managed to translate the Invoice into Spanish via Localization.

    For what I see you can only translate it into another language but not have it multilingual, is that right?

    Thanks,

    Marc

  12. CalleGabinus
    Member
    Posted 3 months ago #

    Hi there
    I also need a translation for our Swedish customer. Can you make a file for me aswell? It's almost the same as for the Norwegian.

    Invoice = Faktura
    Invoice number = Fakturanummer
    Date = Datum
    To = till
    Ship to = Send till
    Notes= Noteringar
    SKU = Art. no
    Description= Beskrivning
    Quantity= Antal
    Unit Price= Pris per enhet
    Total= Totalt
    Discount= Rabatt
    Subtotal= Delsumma
    Shipping= Frakt
    Grand Total= Totalsumma
    Page %s of %s= Sida %s av %s

    Hope you can help - all the best from Sweden

Reply

You must log in to post.

About this Plugin

About this Topic