Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions backend/src/i18n/locales/es-ar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"invoiceTitle": "Factura",
"invoiceNumberLabel": "Número de Factura",
"invoiceNumberShortLabel": "Factura N.°",
"invoiceDateLabel": "Fecha de emisión",
"dateLabel": "Fecha",
"dueDateLabel": "Fecha de Vencimiento",
"dueShortLabel": "Vence",
"referenceLabel": "Referencia",
"billToHeading": "Facturar a",
"itemsHeading": "Detalles de la Factura",
"itemHeaderDescription": "Descripción",
"itemHeaderQuantity": "Cantidad",
"itemHeaderQuantityShort": "Cant.",
"itemHeaderUnit": "Unidad",
"itemHeaderUnitPrice": "Precio Unitario",
"itemHeaderUnitPriceShort": "P.Unitario",
"itemHeaderAmount": "Importe",
"itemHeaderTax": "Impuesto",
"summaryHeading": "Resumen de la Factura",
"subtotalLabel": "Subtotal",
"discountLabel": "Descuento",
"taxLabel": "Impuesto",
"totalLabel": "Total",
"statusLabel": "Estado",
"taxSummaryHeading": "Resumen de impuestos",
"taxableLabel": "Neto gravado",
"taxAmountLabel": "Valor del Impuesto",
"taxIdLabel": "CUIT",
"outstandingBalanceLabel": "Saldo Pendiente",
"paymentInformationHeading": "Información de Pago",
"paymentMethodsLabel": "Medios de Pago",
"paymentMethodsPrefix": "Métodos:",
"bankAccountLabel": "Cuenta Bancaria",
"bankAccountPrefix": "Banco:",
"paymentTermsLabel": "Condiciones de Pago",
"notesHeading": "Notas",
"thankYouNote": "¡Muchas gracias por elegirnos!"
}
2 changes: 2 additions & 0 deletions backend/src/i18n/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import deRaw from "./locales/de.json" with { type: "json" };
import ptBrRaw from "./locales/pt-br.json" with { type: "json" };
import trRaw from "./locales/tr.json" with { type: "json" };
import esCoRaw from "./locales/es-co.json" with { type: "json" };
import esArRaw from "./locales/es-ar.json" with { type: "json" };

export type InvoiceLabels = {
invoiceTitle: string;
Expand Down Expand Up @@ -109,6 +110,7 @@ const catalogs: Record<string, InvoiceLabels> = Object.freeze({
tr: coerceLabels("tr", trRaw),
"es-co": coerceLabels("es-co", esCoRaw),
es: coerceLabels("es", esCoRaw), // alias for es-co
"es-ar": coerceLabels("es-ar", esArRaw),
});

function normalizeLocale(locale?: string): string {
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/lib/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,5 +293,6 @@
"e.g. Bank Transfer, PayPal": "e.g. Bank Transfer, PayPal",
"e.g. INV-2025-001": "e.g. INV-2025-001",
"e.g. US, NL, DE": "e.g. US, NL, DE",
"item(s)": "item(s)"
"item(s)": "item(s)",
"Español (Argentina)": "Spanish (Argentina)"
}
Loading