Skip to content

Commit 2d9c31b

Browse files
authored
feat: Add Spanish (Mexico) and Spanish (Argentina) locales (#357)
1 parent f9656e2 commit 2d9c31b

18 files changed

+2117
-1
lines changed

next-i18next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const config = {
33
i18n: {
44
defaultLocale: 'default',
5-
locales: ['default', 'en', 'de', 'it', 'pl', 'pt', 'sv'],
5+
locales: ['default', 'en', 'de', 'it', 'pl', 'pt', 'sv', 'es-MX', 'es-AR'],
66
localeDetection: false,
77
},
88
localePath: './public/locales',
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"ui": {
3+
"title": "Cuenta",
4+
"change_language": "Cambiar idioma",
5+
"change_language_details": {
6+
"title": "Seleccionar un idioma",
7+
"messages": {
8+
"language_changed": "Idioma cambiado exitosamente"
9+
},
10+
"errors": {
11+
"language_change_failed": "Error al cambiar el idioma"
12+
},
13+
"placeholder": "Seleccionar un idioma"
14+
},
15+
"notifications": {
16+
"enable_notification": "Habilitar notificaciones",
17+
"disable_notification": "Deshabilitar notificaciones",
18+
"messages": {
19+
"notification_granted": "Ahora recibirás notificaciones"
20+
},
21+
"errors": {
22+
"notification_not_supported": "Las notificaciones no son compatibles",
23+
"subscribe_error": "No se puede suscribir a las notificaciones",
24+
"unsubscribe_error": "Error al cancelar la suscripción a las notificaciones",
25+
"request_error": "Error al solicitar notificaciones"
26+
}
27+
},
28+
"download_app": "Descargar aplicación",
29+
"download_app_details": {
30+
"title": "Descargar aplicación",
31+
"download_as_pwa": "Podés descargar SplitPro como una PWA a tu pantalla de inicio.",
32+
"using_ios": "Si usás iOS, revisá este",
33+
"using_android": "Si usás Android, revisá este",
34+
"video": "video"
35+
},
36+
"import_from_splitwise": "Importar desde Splitwise",
37+
"import_from_splitwise_details": {
38+
"choose_file": "Elegir archivo",
39+
"no_file_chosen": "Ningún archivo seleccionado",
40+
"note": "Nota: Actualmente solo soporta la importación de amigos y grupos. No importará transacciones. Estamos trabajando en ello.",
41+
"follow_to_export_splitwise_data": "Seguí este enlace para exportar datos de Splitwise",
42+
"export_splitwise_data_button": "Exportar datos de Splitwise",
43+
"messages": {
44+
"import_success": "Importación exitosa"
45+
},
46+
"errors": {
47+
"import_failed": "Error al importar el archivo"
48+
}
49+
},
50+
"download_splitpro_data": "Descargar datos de SplitPro",
51+
"submit_feedback": "Enviar comentarios",
52+
"submit_feedback_details": {
53+
"title": "Enviar comentarios",
54+
"placeholder": "Ingresá tus comentarios"
55+
},
56+
"errors": {
57+
"feedback_required": "Los comentarios son obligatorios",
58+
"feedback_min_length": "Los comentarios deben tener al menos 10 caracteres"
59+
},
60+
"messages": {
61+
"submit_success": "Comentarios enviados",
62+
"submit_error": "Error al enviar los comentarios"
63+
},
64+
"write_review": "Escribir una reseña",
65+
"star_on_github": "Danos una estrella en GitHub",
66+
"support_us": "Patrocinanos",
67+
"follow_on_x": "Seguinos en X",
68+
"logout": "Cerrar sesión",
69+
"edit_name": {
70+
"title": "Editar nombre",
71+
"placeholder": "Ingresá el nombre"
72+
}
73+
}
74+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"title": "Categorías",
3+
"categories_list": {
4+
"entertainment": {
5+
"name": "Entretenimiento",
6+
"items": {
7+
"games": "Juegos",
8+
"movies": "Películas",
9+
"music": "Música",
10+
"sports": "Deportes",
11+
"other": "Entretenimiento"
12+
}
13+
},
14+
"food": {
15+
"name": "Comida y Bebidas",
16+
"items": {
17+
"diningOut": "Comer afuera",
18+
"groceries": "Comestibles",
19+
"liquor": "Bebidas alcohólicas",
20+
"other": "Comida y Bebidas"
21+
}
22+
},
23+
"home": {
24+
"name": "Hogar",
25+
"items": {
26+
"electronics": "Electrónica",
27+
"furniture": "Muebles",
28+
"supplies": "Suministros",
29+
"maintenance": "Mantenimiento",
30+
"mortgage": "Hipoteca",
31+
"pets": "Mascotas",
32+
"rent": "Alquiler",
33+
"services": "Servicios",
34+
"other": "Hogar"
35+
}
36+
},
37+
"life": {
38+
"name": "Vida",
39+
"items": {
40+
"childcare": "Cuidado de niños",
41+
"clothing": "Ropa",
42+
"education": "Educación",
43+
"gifts": "Regalos",
44+
"medical": "Médico",
45+
"taxes": "Impuestos",
46+
"other": "Vida",
47+
"insurance": "Seguro"
48+
}
49+
},
50+
"travel": {
51+
"name": "Viajes",
52+
"items": {
53+
"bus": "Colectivo",
54+
"train": "Tren",
55+
"car": "Auto",
56+
"fuel": "Combustible",
57+
"parking": "Estacionamiento",
58+
"plane": "Avión",
59+
"taxi": "Taxi",
60+
"other": "Viajes",
61+
"bicycle": "Bicicleta",
62+
"hotel": "Hotel"
63+
}
64+
},
65+
"utilities": {
66+
"name": "Servicios",
67+
"items": {
68+
"cleaning": "Limpieza",
69+
"electricity": "Electricidad",
70+
"gas": "Gas",
71+
"internet": "Internet",
72+
"trash": "Basura",
73+
"phone": "Teléfono",
74+
"water": "Agua",
75+
"other": "Servicios"
76+
}
77+
},
78+
"general": {
79+
"name": "General",
80+
"items": {
81+
"general": "General",
82+
"other": "General"
83+
}
84+
}
85+
}
86+
}

public/locales/es-AR/common.json

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{
2+
"meta": {
3+
"title": "SplitPro: Dividí gastos con tus amigos gratis",
4+
"description": "Dividí gastos con tus amigos gratis",
5+
"application_name": "SplitPro"
6+
},
7+
"navigation": {
8+
"app_name": "SplitPro",
9+
"balances": "Saldos",
10+
"groups": "Grupos",
11+
"add_expense": "Agregar Gasto",
12+
"add": "Agregar",
13+
"activity": "Actividad",
14+
"account": "Cuenta"
15+
},
16+
"ui": {
17+
"actors": {
18+
"you": "Vos",
19+
"you_dativus": "A vos",
20+
"you_accusativus": "A vos",
21+
"friends": "Amigos",
22+
"groups": "Grupos",
23+
"members": "Miembros",
24+
"owner": "Propietario",
25+
"all": "Todos"
26+
},
27+
"actions": {
28+
"cancel": "Cancelar",
29+
"confirm": "Confirmar",
30+
"submit": "Enviar",
31+
"close": "Cerrar",
32+
"back": "Volver",
33+
"create": "Crear",
34+
"save": "Guardar",
35+
"leave": "Salir",
36+
"invite": "Invitar",
37+
"export": "Exportar",
38+
"import": "Importar",
39+
"add_expense": "Agregar gasto",
40+
"edit_expense": "Editar gasto",
41+
"settle_up": "Liquidar"
42+
},
43+
"expense": {
44+
"you": {
45+
"lent": "prestaste",
46+
"owe": "debés",
47+
"paid": "pagaste",
48+
"pay": "pagar",
49+
"received": "recibiste",
50+
"deleted": "eliminaste"
51+
},
52+
"user": {
53+
"lent": "prestó",
54+
"owe": "debe",
55+
"paid": "pagó",
56+
"pay": "paga",
57+
"received": "recibió",
58+
"deleted": "eliminó"
59+
},
60+
"for": "para",
61+
"paid_by": "Pagado por",
62+
"received_by": "Recibido por",
63+
"to": "a",
64+
"from": "de"
65+
},
66+
"balance": "saldo",
67+
"balances": "saldos",
68+
"or": "o",
69+
"and": "y",
70+
"today": "Hoy",
71+
"delete": "Eliminar",
72+
"edited_by": "Editado por",
73+
"deleted_by": "Eliminado por",
74+
"added_by": "Agregado por",
75+
"on": "el",
76+
"not_involved": "No involucrado",
77+
"no_activity": "Aún no hay actividades",
78+
"settled_up": "Liquidado",
79+
"settle_up_name": "Liquidar",
80+
"settlement": "Liquidación",
81+
"expense_details": "Detalles del gasto",
82+
"select_currency": "Seleccionar moneda",
83+
"outstanding_balances": "Saldos pendientes",
84+
"share_text": "Echale un vistazo a SplitPro. Es una alternativa gratuita de código abierto a Splitwise"
85+
},
86+
"errors": {
87+
"name_required": "El nombre es requerido",
88+
"saving_expense": "Error al guardar el gasto",
89+
"something_went_wrong": "Algo salió mal",
90+
"valid_email": "Ingresá un correo electrónico válido"
91+
}
92+
}

0 commit comments

Comments
 (0)