-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md for Laravel 11 compatibility + update versions in Gi…
…thub Actions tests (#37) * Update README.md - compatibility with Laravel 11 * note about the lang directory and default language files since Laravel 9
- Loading branch information
Showing
2 changed files
with
16 additions
and
5 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
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,4 +1,4 @@ | ||
# [Translation.io](https://translation.io/laravel) client for Laravel 5.5+ to 10.x | ||
# [Translation.io](https://translation.io/laravel) client for Laravel 5.5+ to 11.x | ||
|
||
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE) | ||
[![Build Status](https://github.com/translation/laravel/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/translation/laravel/actions/workflows/test.yml) | ||
|
@@ -18,8 +18,6 @@ Write only the source text, and keep it synchronized with your translators on [T | |
<img width="720px" alt="Translation.io interface" src="https://translation.io/gifs/translation.gif"> | ||
</a> | ||
|
||
[Technical Demo](https://translation.io/videos/laravel.mp4) (2.5min) | ||
|
||
Need help? [[email protected]](mailto:[email protected]) | ||
|
||
## Table of contents | ||
|
@@ -199,6 +197,16 @@ return [ | |
php artisan translation:init | ||
~~~ | ||
|
||
Note: since **Laravel 9**, the `lang` directory and the default set of language files | ||
used by Laravel are **not** included by default in new projects | ||
(see [official documentation](https://laravel.com/docs/master/localization#publishing-the-language-files)), | ||
so you may need to run the `lang:publish` command to generate them: | ||
|
||
~~~bash | ||
php artisan lang:publish | ||
~~~ | ||
|
||
|
||
If you need to add or remove languages in the future, please read | ||
[this section](#add-or-remove-language) about that. | ||
|
||
|