-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
342 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,23 @@ | ||
# 🔥 Localización de Laravel ~~5.7~~ 8 a 10 al español y español latinoamericano | ||
# Localización de Laravel al español | ||
|
||
## Instalación | ||
|
||
### A través de la Terminal | ||
|
||
1. Copiamos el repositorio `https://github.com/MarcoGomesr/laravel-validation-en-espanol.git` | ||
2. Luego nos dirigimos al root de nuestro proyecto | ||
3. Clonamos el repositorio `git clone` en la ruta `resources/lang` (por defecto git creará las carpetas `es` y `es_419`, si las carpetas ya existen git te mostrará una alerta y tendrás que eliminarlas o modificar su nombre) | ||
4. Así deberá verse una vez estés en el root | ||
|
||
``` git clone https://github.com/MarcoGomesr/laravel-validation-en-espanol.git resources/lang ``` | ||
1. Copiamos el repositorio y lo clonamos en la carpeta carpeta raiz dentro de una carpeta llamada `lang` | ||
|
||
### De forma Manual | ||
|
||
1. Descargar la carpeta `es` o `es_419` y colocarla dentro del directorio `/resources/lang/` de tu proyecto. | ||
|
||
### Configurando el idioma dentro de laravel | ||
|
||
``` git clone https://github.com/MarcoGomesr/laravel-validation-en-espanol.git lang ``` | ||
|
||
Abrir el archivo `/config/app.php` y reemplazar el valor de la variable `locale` por `es` para español o `es_419` para español latinoamericano. | ||
|
||
```php | ||
### De forma Manual | ||
|
||
1. crea una carpeta llamada `lang` en la raiz de tu projecto y descargar el contenido del repositorio en él | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Application Locale Configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The application locale determines the default locale that will be used | ||
| by the translation service provider. You are free to set this value | ||
| to any of the locales which will be supported by the application. | ||
| | ||
*/ | ||
|
||
'locale' => 'es', | ||
### Configuración | ||
Para activarlo solo debes abrir el archivo `.env` y editarla variable de estorno APP_LOCALE para que sea igual a 'es' de esta manera `APP_LOCALE=es` | ||
|
||
``` | ||
|
||
##### Author: Marco Gomes <http://marcogomesweb.com> | ||
##### Contribuidores: lcamacho franciscollanquipichun feltoxXx carlospc pupi1985 CarloRodriguez Briones PedroBlanco AVillaraux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
{ | ||
"(and :count more error)": "(y :count error más)", | ||
"(and :count more errors)": "(y :count error más)|(y :count errores más)|(y :count errores más)", | ||
"A Timeout Occurred": "Se produjo un tiempo de espera", | ||
"Accept": "Aceptar", | ||
"Accepted": "Aceptado", | ||
"Action": "Acción", | ||
"Actions": "Acciones", | ||
"Add": "Agregar", | ||
"Add :name": "Agregar :name", | ||
"Admin": "Administrar", | ||
"Agree": "Aceptar", | ||
"All rights reserved.": "Todos los derechos reservados.", | ||
"Already Reported": "Ya está Reportado", | ||
"Archive": "Archivar", | ||
"Assign": "Asignar", | ||
"Attach": "Adjuntar", | ||
"Bad Gateway": "Puerta de Enlace Incorrecta", | ||
"Bad Request": "Solicitud incorrecta", | ||
"Bandwidth Limit Exceeded": "Límite de ancho de banda excedido", | ||
"Browse": "Navegar", | ||
"Cancel": "Cancelar", | ||
"Choose": "Elija", | ||
"Choose :name": "Elige :name", | ||
"Choose File": "Elija archivo", | ||
"Choose Image": "Elija la Imagen", | ||
"Click to copy": "Haga clic para copiar", | ||
"Client Closed Request": "Solicitud cerrada del cliente", | ||
"Close": "Cerrar", | ||
"Collapse": "Colapsar", | ||
"Collapse All": "Colapsar todo", | ||
"Comment": "Comentar", | ||
"Confirm": "Confirmar", | ||
"Conflict": "Conflicto", | ||
"Connect": "Conectar", | ||
"Connection Closed Without Response": "Conexión cerrada sin respuesta", | ||
"Connection Timed Out": "Tiempo de conexión agotado", | ||
"Continue": "Continuar", | ||
"Create": "Crear", | ||
"Create :name": "Crear :name", | ||
"Created": "Creado", | ||
"Delete": "Eliminar", | ||
"Delete :name": "Eliminar :name", | ||
"Detach": "Desvincular", | ||
"Details": "Detalles", | ||
"Disable": "Deshabilitar", | ||
"Discard": "Descartar", | ||
"Done": "Hecho", | ||
"Down": "Abajo", | ||
"Duplicate": "Duplicar", | ||
"Duplicate :name": "Duplicar :name", | ||
"Edit": "Editar", | ||
"Edit :name": "Editar :name", | ||
"Enable": "Habilitar", | ||
"errors": "errors", | ||
"Expand": "Expandir", | ||
"Expand All": "Expandir todo", | ||
"Expectation Failed": "Expectativa fallida", | ||
"Explanation": "Explicación", | ||
"Export": "Exportar", | ||
"Failed Dependency": "Dependencia fallida", | ||
"File": "Archivo", | ||
"Files": "Archivos", | ||
"Forbidden": "Prohibido", | ||
"Found": "Encontrado", | ||
"Gateway Timeout": "Tiempo de espera de puerta de enlace", | ||
"Go Home": "Ir a inicio", | ||
"Go to page :page": "Ir a la página :page", | ||
"Gone": "Recurso no disponible", | ||
"Hello!": "¡Hola!", | ||
"Hide": "Ocultar", | ||
"Hide :name": "Ocultar :name", | ||
"Home": "Inicio", | ||
"HTTP Version Not Supported": "Versión HTTP no compatible", | ||
"I'm a teapot": "Soy una tetera", | ||
"If you did not create an account, no further action is required.": "Si no ha creado una cuenta, no se requiere ninguna acción adicional.", | ||
"If you did not request a password reset, no further action is required.": "Si no ha solicitado el restablecimiento de contraseña, omita este mensaje de correo electrónico.", | ||
"If you're having trouble clicking the \":actionText\" button, copy and paste the URL below\ninto your web browser:": "Si está teniendo problemas al hacer clic en el botón \":actionText\", copie y pegue la URL de abajo\nen su navegador web:", | ||
"IM Used": "Estoy en uso", | ||
"Image": "Imagen", | ||
"Impersonate": "Personificar", | ||
"Impersonation": "Suplantación", | ||
"Import": "Importar", | ||
"Import :name": "Importar :name", | ||
"Insufficient Storage": "Espacio insuficiente", | ||
"Internal Server Error": "Error interno del servidor", | ||
"Introduction": "Introducción", | ||
"Invalid JSON was returned from the route.": "Se devolvió un JSON no válido desde la ruta.", | ||
"Invalid SSL Certificate": "Certificado SSL no válido", | ||
"Length Required": "Longitud requerida", | ||
"Like": "Me gusta", | ||
"Load": "Cargar", | ||
"Localize": "Localizar", | ||
"Location": "Location", | ||
"Locked": "Bloqueado", | ||
"Login": "Iniciar sesión", | ||
"Logout": "Finalizar sesión", | ||
"Loop Detected": "Bucle detectado", | ||
"Maintenance Mode": "Modo de mantenimiento", | ||
"Method Not Allowed": "Método no permitido", | ||
"Misdirected Request": "Solicitud mal dirigida", | ||
"Moved Permanently": "Movido permanentemente", | ||
"Multi-Status": "Multiestado", | ||
"Multiple Choices": "Múltiples opciones", | ||
"Network Authentication Required": "Se requiere autenticación de red", | ||
"Network Connect Timeout Error": "Error de tiempo de espera de conexión de red", | ||
"Network Read Timeout Error": "Error de tiempo de espera de lectura de red", | ||
"New": "Nuevo", | ||
"New :name": "Nuevo :name", | ||
"No": "No", | ||
"No Content": "Sin contenido", | ||
"Non-Authoritative Information": "Información no autorizada", | ||
"Not Acceptable": "Inaceptable", | ||
"Not Extended": "no extendido", | ||
"Not Found": "No encontrado", | ||
"Not Implemented": "No se ha implementado", | ||
"Not Modified": "No modificado", | ||
"of": "de", | ||
"OK": "DE ACUERDO", | ||
"Open": "Abrir", | ||
"Open in a current window": "Abrir en una ventana actual", | ||
"Open in a new window": "Abrir en una ventana nueva", | ||
"Open in a parent frame": "Abrir en un marco principal", | ||
"Open in the topmost frame": "Abrir en el marco superior", | ||
"Open on the website": "Abrir en el sitio web", | ||
"Origin Is Unreachable": "El origen es inalcanzable", | ||
"Page Expired": "Página expirada", | ||
"Pagination Navigation": "Navegación por los enlaces de paginación", | ||
"Partial Content": "Contenido parcial", | ||
"Payload Too Large": "Solicitud demasiado grande", | ||
"Payment Required": "Pago requerido", | ||
"Permanent Redirect": "Redirección permanente", | ||
"Please click the button below to verify your email address.": "Por favor, haga clic en el botón de abajo para verificar su dirección de correo electrónico.", | ||
"Precondition Failed": "Error de condición previa", | ||
"Precondition Required": "Precondición requerida", | ||
"Preview": "Previsualizar", | ||
"Price": "Precio", | ||
"Processing": "Procesando", | ||
"Proxy Authentication Required": "Se requiere autenticación proxy", | ||
"Railgun Error": "Error de cañón de riel", | ||
"Range Not Satisfiable": "Rango no satisfactorio", | ||
"Regards": "Saludos", | ||
"Register": "Registrarse", | ||
"Request Header Fields Too Large": "Campos de encabezado de solicitud demasiado grandes", | ||
"Request Timeout": "Solicitud de tiempo de espera", | ||
"Reset Content": "Restablecer contenido", | ||
"Reset Password": "Restablecer contraseña", | ||
"Reset Password Notification": "Notificación de restablecimiento de contraseña", | ||
"Restore": "Restaurar", | ||
"Restore :name": "Restaurar :name", | ||
"results": "resultados", | ||
"Retry With": "Reintentar con", | ||
"Save": "Guardar", | ||
"Save & Close": "Guardar cerrar", | ||
"Save & Return": "Guardar y volver", | ||
"Save :name": "Guardar :name", | ||
"Search": "Buscar", | ||
"Search :name": "Buscar :name", | ||
"See Other": "Ver otros", | ||
"Select": "Seleccione", | ||
"Select All": "Seleccionar todo", | ||
"Send": "Enviar", | ||
"Server Error": "Error del servidor", | ||
"Service Unavailable": "Servicio no disponible", | ||
"Session Has Expired": "La sesión ha expirado", | ||
"Settings": "Ajustes", | ||
"Show": "Mostrar", | ||
"Show :name": "Mostrar :name", | ||
"Show All": "Mostrar todo", | ||
"Showing": "Mostrando", | ||
"Solve": "Resolver", | ||
"SSL Handshake Failed": "Protocolo de enlace SSL fallido", | ||
"Submit": "Entregar", | ||
"Subscribe": "Suscriba", | ||
"Switch": "Cambiar", | ||
"Switch To Role": "Cambiar de rol", | ||
"Switching Protocols": "Protocolos de conmutación", | ||
"Tag": "Etiqueta", | ||
"Tags": "Etiquetas", | ||
"Temporary Redirect": "Redirección temporal", | ||
"The given data was invalid.": "Los datos proporcionados no son válidos.", | ||
"The response is not a streamed response.": "La respuesta no es una respuesta transmitida.", | ||
"The response is not a view.": "La respuesta no es una vista.", | ||
"This action is unauthorized.": "Esta acción no está autorizada.", | ||
"This password reset link will expire in :count minutes.": "Este enlace de restablecimiento de contraseña expirará en :count minutos.", | ||
"to": "al", | ||
"Toggle navigation": "Alternar navegación", | ||
"Too Early": "Demasiado temprano", | ||
"Too Many Requests": "Demasiadas peticiones", | ||
"Translate": "Traducir", | ||
"Translate It": "Traducirlo", | ||
"Unauthorized": "No autorizado", | ||
"Unavailable For Legal Reasons": "No disponible por razones legales", | ||
"Unknown Error": "Error desconocido", | ||
"Unpack": "Desglosar", | ||
"Unprocessable Entity": "Entidad no procesable", | ||
"Unsubscribe": "Darse de baja", | ||
"Unsupported Media Type": "Tipo de medio no admitido", | ||
"Up": "Arriba", | ||
"Update": "Actualizar", | ||
"Update :name": "Actualizar :name", | ||
"Upgrade Required": "Se requiere actualización", | ||
"URI Too Long": "URI demasiado largo", | ||
"Use Proxy": "Usa proxy", | ||
"User": "Usuario", | ||
"Variant Also Negotiates": "Variante También Negocia", | ||
"Verify Email Address": "Confirme su correo electrónico", | ||
"View": "Ver", | ||
"View :name": "Ver :name", | ||
"Web Server is Down": "El servidor web está caído", | ||
"Whoops!": "¡Ups!", | ||
"Yes": "Sí", | ||
"You are receiving this email because we received a password reset request for your account.": "Ha recibido este mensaje porque se solicitó un restablecimiento de contraseña para su cuenta." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
'accept' => 'Aceptar', | ||
'action' => 'Acción', | ||
'actions' => 'Acciones', | ||
'add' => 'Agregar', | ||
'admin' => 'Administrar', | ||
'agree' => 'Aceptar', | ||
'archive' => 'Archivar', | ||
'assign' => 'Asignar', | ||
'attach' => 'Asociar', | ||
'browse' => 'Navegar', | ||
'cancel' => 'Cancelar', | ||
'choose' => 'Elegir', | ||
'choose_file' => 'Elija el archivo', | ||
'choose_image' => 'Elija la Imagen', | ||
'click_to_copy' => 'Haga clic para copiar', | ||
'close' => 'Cerrar', | ||
'collapse' => 'Colapsar', | ||
'collapse_all' => 'Colapsar todo', | ||
'comment' => 'Comentar', | ||
'confirm' => 'Confirmar', | ||
'connect' => 'Conectar', | ||
'create' => 'Crear', | ||
'delete' => 'Borrar', | ||
'detach' => 'Desasociar', | ||
'details' => 'Detalles', | ||
'disable' => 'Desactivar', | ||
'discard' => 'Descartar', | ||
'done' => 'Hecho', | ||
'down' => 'Abajo', | ||
'duplicate' => 'Duplicar', | ||
'edit' => 'Editar', | ||
'enable' => 'Permitir', | ||
'expand' => 'Expandir', | ||
'expand_all' => 'Expandir todo', | ||
'explanation' => 'Explicación', | ||
'export' => 'Exportar', | ||
'file' => 'Archivo', | ||
'files' => 'Archivos', | ||
'go_home' => 'Ir a Inicio', | ||
'hide' => 'Ocultar', | ||
'home' => 'Inicio', | ||
'image' => 'Imagen', | ||
'Impersonate' => 'Suplantar', | ||
'Impersonation' => 'Suplantación', | ||
'import' => 'Importar', | ||
'introduction' => 'Introducción', | ||
'like' => 'Me gusta', | ||
'load' => 'Cargar', | ||
'localize' => 'Localizar', | ||
'named' => [ | ||
'add' => 'Agregar :name', | ||
'choose' => 'Elige :name', | ||
'create' => 'Crear :name', | ||
'delete' => 'Eliminar :name', | ||
'duplicate' => 'Duplicar :name', | ||
'edit' => 'Editar :name', | ||
'hide' => 'Ocultar :name', | ||
'import' => 'Importar :name', | ||
'new' => 'Nuevo :name', | ||
'restore' => 'Restaurar :name', | ||
'save' => 'Guardar :name', | ||
'search' => 'Buscar :name', | ||
'show' => 'Mostrar :name', | ||
'update' => 'Actualizar :name', | ||
'view' => 'Ver :name', | ||
], | ||
'new' => 'Nuevo', | ||
'no' => 'No', | ||
'open' => 'Abrir', | ||
'open_website' => 'Abrir en el sitio web', | ||
'preview' => 'Previsualizar', | ||
'price' => 'Precio', | ||
'restore' => 'Restaurar', | ||
'save' => 'Guardar', | ||
'save_and_close' => 'Guardar y cerrar', | ||
'save_and_return' => 'Guardar y volver', | ||
'search' => 'Buscar', | ||
'select' => 'Seleccionar', | ||
'select_all' => 'Seleccionar todo', | ||
'send' => 'Enviar', | ||
'settings' => 'Ajustes', | ||
'show' => 'Mostrar', | ||
'show_all' => 'Mostrar todo', | ||
'solve' => 'Resolver', | ||
'submit' => 'Entregar', | ||
'subscribe' => 'Suscribir', | ||
'switch' => 'Cambiar', | ||
'switch_to_role' => 'Cambiar de rol', | ||
'tag' => 'Etiqueta', | ||
'tags' => 'Etiquetas', | ||
'target_link' => [ | ||
'blank' => 'Abrir en una ventana nueva', | ||
'parent' => 'Abrir en el marco principal', | ||
'self' => 'Abrir en la ventana actual', | ||
'top' => 'Abrir en el marco superior', | ||
], | ||
'translate' => 'Traducir', | ||
'translate_it' => 'Traducirlo', | ||
'unpack' => 'Desglosar', | ||
'unsubscribe' => 'Darse de baja', | ||
'up' => 'Arriba', | ||
'update' => 'Actualizar', | ||
'user' => 'Usuario', | ||
'view' => 'Ver', | ||
'yes' => 'Sí', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
|
||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
|
||
/* | ||
|
Oops, something went wrong.