Replies: 5 comments
-
In folder languange your project, create new folder with name your country region, and save Auth.php with your translation. |
Beta Was this translation helpful? Give feedback.
-
just for info, the language code for this file should be |
Beta Was this translation helpful? Give feedback.
-
i've already do this but do not work .... The system showme original myth "es" translations. |
Beta Was this translation helpful? Give feedback.
-
Hmm... this one gonna be tough since CodeIgniter favors language files from external packages instead of "internals" so that the default lang files can be easily overwritten. For now, the only solution I can think of for this will be installing myth-auth manually and then, adding it to the I think this problem should be raised on the official repo as a bug... because we need some way to make it work with composer packages too. Sadly, for now I have no idea how to do this. |
Beta Was this translation helpful? Give feedback.
-
I set App.php
This make the magic. |
Beta Was this translation helpful? Give feedback.
-
Hi, i would like to change some string in language file, it's possible to change without moidy your source?
Anyway, here is my translation file in case you want to use it in your source code (spanish).
`<?php
return [
// Exceptions
'invalidModel' => 'Se debe cargar el modelo {0} antes de usarlo.',
'userNotFound' => 'No se puede localizar al usuario con ID = {0, number}.',
'noUserEntity' => 'Se debe proporcionar la entidad de usuario para la validación de la contraseña.',
'tooManyCredentials' => 'Sólo se puede valir contra 1 credencial además de la contraseña.',
'invalidFields' => 'El campo "{0}" no puede utilizarse para validar credenciales.',
'unsetPasswordLength' => 'Se debe setear la variable
minimumPasswordLength
en la configuración.','unknownError' => 'Perdón, ocurrió un problema queriendo enviar el correo. Por favor intentá mas tarde.',
'notLoggedIn' => 'Se debe ingresar al sistema antes de poder acceder a esa página.',
'notEnoughPrivilege' => 'No tenés los permisos necesarios para poder acceder a esta página.',
];
`
Beta Was this translation helpful? Give feedback.
All reactions