@@ -43,6 +43,8 @@ Once done you can run `phpunit` in the application root directory to run all tes
## Translations
As part of BookStack v0.14 support for translations has been built in. All text strings can be found in the `resources/lang` folder where each language option has its own folder. To add a new language you should copy the `en` folder to an new folder (eg. `fr` for french) then go through and translate all text strings in those files, leaving the keys and file-names intact. If a language string is missing then the `en` translation will be used. To show the language option in the user preferences language drop-down you will need to add your language to the options found at the bottom of the `resources/lang/en/settings.php` file. A system-wide language can also be set in the `.env` file like so: `APP_LANG=en`.
You will also need to add the language to the `locales` array in the `config/app.php` file.
Some strings have colon-prefixed variables in such as `:userName`. Leave these values as they are as they will be replaced at run-time.
'start_a'=>':count usuarios han comenzado a editar esta página',
'start_b'=>':userName ha comenzado a editar esta página',
'time_a'=>'desde que las página fue actualizada',
'time_b'=>'en los Ãltimos :minCount minutos',
'time_b'=>'en los últimos :minCount minutos',
'message'=>':start :time. Ten cuidado de no sobreescribir los cambios del otro usuario',
],
'pages_draft_discarded'=>'Borrador descartado, el editor ha sido actualizado con el contenido de la página actual',
...
...
@@ -189,7 +189,7 @@ return [
'attachments_set_link'=>'Setear Link',
'attachments_delete_confirm'=>'Haga click en borrar nuevamente para confirmar que quiere borrar este adjunto.',
'attachments_dropzone'=>'Arrastre ficheros aquío haga click aquípara adjuntar un fichero',
'attachments_no_files'=>'NingÃn fichero ha sido adjuntado',
'attachments_no_files'=>'Ningún fichero ha sido adjuntado',
'attachments_explain_link'=>'Ud. puede agregar un link o si lo prefiere puede agregar un fichero. Esto puede ser un link a otra página o un link a un fichero en la nube.',