List of accepted locales for documents (ISO 639-1).

CodeDocument language
deGerman
enEnglish
frFrench
itItalian
nbNorwegian (Bokmål)

How to add a new language

You can contribute to Lago’s open-source project by helping us translate documents. The new language will then be added to the list of supported locales and available to the entire Lago Community.

The document template includes translation keys for:

  • Invoices related to subscriptions, add-ons and prepaid credits;
  • Credit notes;
  • Data formatting (e.g. amounts and dates); and
  • Syntax (i.e. sentence structure).

The names of your billable metrics, plans, add-ons, coupons and wallets are defined in the app. There are no keys to translate them.

To add a new language:

  1. Download the document template to see where each key is located;
  2. Use the text file below to provide translations for the new language; and
  3. Send the new text file to hello@getlago.com, so that we can review it and add it to the codebase.

Thanks for your time and support!

en:
  invoice:
    [1.1] document_name: Invoice
    [1.2] invoice_number: Invoice Number
    [1.3] issue_date: Issue Date
    [1.4] net_payment_term: Net payment term
    [1.5] days: days
    [1.6] bill_from: From
    [1.7] bill_to: Bill to
    [1.9] due_date: Due %{date}
    [1.10] header_item: Item
    [1.11] header_amount: Amount (excl. tax)
    [1.12] sub_total_without_tax: Sub total (excl. tax)
    [1.13] sub_total_with_tax: Sub total (incl. tax)
    [1.14] credit_notes: Credit Notes
    [1.15] prepaid_credits: Prepaid credits
    [1.16] total_due: Total due
    [1.17] powered_by: Powered by

    [2.1] details: “%{resource} details”
    [2.2] header_fees_from: Fees from
    [2.3] header_fees_to: to
    [2.4] header_unit: Unit
    [2.5] header_tax_rate: Tax rate
    [2.6] weekly: Weekly
    [2.7] monthly: Monthly
    [2.8] quarterly: Quarterly
    [2.9] yearly: Yearly
    [2.10] total_event: Total event
    [2.11] true_up: True-up
    [2.12] true_up_details: Minimum spend of {amount} prorated on days of usage
    [2.13] total: Total


    [3.1] breakdown: Breakdown
    [3.3] breakdown_for_days: "Used %{breakdown_duration} out of %{breakdown_total_duration} days"
    [3.4] notice_prorated: Regardless of when an event is received, the unit is not prorated, we charge the full price.
    [3.5] breakdown_of: Breakdown of
    [3.6] notice_prorated: If a unit is added or removed during the monthly plan, we calculate the prorated price based on the ratio of days remaining or used to the total number of days in the plan. For instance, if 15 days are left in the plan, we multiply the price by 15/31, and if a unit was used for 10 days, we multiply the price by 10/31.


    [4.1] document_name: Invoice
    [4.2] invoice_number: Invoice Number
    [4.3] issue_date: Issue Date
    [4.4] payment_term: Payment term
    [4.5] days: days
    [4.6] bill_from: From
    [4.7] bill_to: Bill to
    [4.8] due_date: Due %{date}
    [4.9] header_item: Item
    [4.10] header_unit: Unit
    [4.11] header_unit_price: Unit price
    [4.12] header_tax_rate: Tax rates
    [4.13] header_tax_amount: Amount (excl. tax)
    [4.14] sub_total_without_tax: Sub total (excl. tax)
    [4.15] sub_total_with_tax: Sub total (incl. tax)
    [4.16] total_due: Total due
    [4.17] powered_by: Powered by


    [5.1] prepaid_credits_with_value: Prepaid credits - %{wallet_name}
    

=====================================================================

en:
  credit_note:
    [6.1] document_name: Credit note
    [6.2] credit_note_number: Credit note number
    [6.3] invoice_number: Invoice number
    [6.4] issue_date: Issue date
    [6.5] credit_from: From
    [6.6] credit_to: Credit to
    [6.7] refunded_notice: Refunded on %{issuing_date}
    [6.8] credited_notice: Credited on customer balance on %{issuing_date}
    [6.9] credited_refunded_notice: Credited on customer balance and refunded on %{issuing_date}
    [6.10] subscription: Subscription
    [6.11] true-up: True-up
    [6.12] sub_total_without_tax: Sub total (excl. tax)
    [6.13] credited_on_customer_balance: Credited on customer balance
    [6.14] refunded: Refunded
    [6.15] total_due: Total due
    [6.16] powered_by: Powered by

=====================================================================

en:
  email:
    [7.1] subject: Your invoice from {{organization.name}} #LAG-1234-567-981
		[7.2] invoice_from: Invoice from {{organization.name}}
		[7.3] total_due: Total due Sep. 01, 2023
    [7.4] refunded_notice: Refunded on %{issuing_date}
    [7.5] credited_notice: Credited on customer balance on %{issuing_date}
    [7.6] credited_refunded_notice: Credited on customer balance and refunded on %{issuing_date}
    [7.7] credit_note_number: Credit note number
    [7.8] invoice_number: Invoice number
		[7.9] issue_date: Issue date
    [7.10] invoice.download: Download invoice for details
    [7.11] credit_note.download: Download invoice for details
    [7.12] contact: Questions? Contact us at {{organization.email}}
		[7.13] powered_by_lago: Powered by

=====================================================================

en:
  customer_portal:
    [8.1] powered_by: Powered by
    [8.2] customer_information: Customer information
    [8.3] name: Name
    [8.4] legal_name: Legal name
    [8.5] legal_number: Legal number
    [8.6] payment_provider: Payment provider
    [8.7] email: Email
    [8.8] address: Address
    [8.9] invoice_history: Invoice history
    [8.10] invoices_search: Search invoices
    [8.11] issuing_date: Issuing date
    [8.12] invoice_number: Invoice number
    [8.13] amount: Amount
    [8.14] payment: Payment 
    [8.15] unpaid: Unpaid
    [8.16] paid: Paid
    [8.17] download: Download PDF
    [8.18] invoices_empty_state: There are currently no invoices attached to this customer. Please check back later, or contact us if you notice any issues.
    [8.19] name_not_provided: Name not provided
    [8.20] legal_name_not_provided: Legal name not provided
    [8.21] legal_number_not_provided: Legal number not provided
    [8.22] payment_provider_not_provided: Payment provider not provided
    [8.23] email_not_provided: Email not provided
    [8.24] address_not_provided: Address not provided
    [8.25] expired_customer_portal_header: For security reasons, this page has expired
    [8.26] error_customer_portal_header: Something went wrong token is invalid or has expired

=====================================================================

en:
  syntax:
    [AA] details_title: %{plan_name} %{details}
    [AB] subscription_interval: %{plan_interval} subscription - %{subscription_name}

=====================================================================

en:
  data_formating:
    [1.8] amount_format: $4,500.00
    [3.2] date format: Dec. 01, 2022
    
    abbr_day_names: Sun / Mon / Tue / Wed / Thu / Fri / Sat
    abbr_month_names: Jan / Feb / Mar / Apr / May / Jun / Jul / Aug / Sep / Oct / Nov / Dec
    day_names: Sunday / Monday / Tuesday / Wednesday / Thursday / Friday / Saturday
    month_names: January / February / March / April / May / June / July / August / September / October / November / December