File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 16
16
- 8.0
17
17
- 8.1
18
18
- 8.2
19
+ - 8.3
19
20
composer_flag :
20
21
- --prefer-lowest
21
22
-
@@ -32,19 +33,21 @@ jobs:
32
33
composer_flag : --prefer-lowest # /
33
34
- php : 8.2 # /
34
35
composer_flag : --prefer-lowest # /
36
+ - php : 8.3 # /
37
+ composer_flag : --prefer-lowest # /
35
38
env :
36
39
COMPOSER_MEMORY_LIMIT : -1
37
40
CC_TEST_REPORTER_ID : 2f4620ac239cc7fdb27b299c24422281b04fd8012820ba173e92c70953385958
38
41
steps :
39
- - uses : actions/checkout@v3
42
+ - uses : actions/checkout@v4
40
43
- name : Install PHP
41
44
uses : shivammathur/setup-php@v2
42
45
with :
43
46
php-version : ${{ matrix.php }}
44
47
env :
45
48
COMPOSER_TOKEN : ${{ secrets.COMPOSER_TOKEN }}
46
49
- name : Cache PHP dependencies
47
- uses : actions/cache@v3
50
+ uses : actions/cache@v4
48
51
with :
49
52
path : vendor
50
53
key : ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ matrix.composer_flag }}-${{ hashFiles('**/composer.json') }}
Original file line number Diff line number Diff line change 1
- # [ Translation.io] ( https://translation.io/laravel ) client for Laravel 5.5+ to 10 .x
1
+ # [ Translation.io] ( https://translation.io/laravel ) client for Laravel 5.5+ to 11 .x
2
2
3
3
[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE )
4
4
[ ![ 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
18
18
<img width =" 720px " alt =" Translation.io interface " src =" https://translation.io/gifs/translation.gif " >
19
19
</a >
20
20
21
- [ Technical Demo] ( https://translation.io/videos/laravel.mp4 ) (2.5min)
22
-
23
21
Need help? [ contact@translation.io ] ( mailto:contact@translation.io )
24
22
25
23
## Table of contents
@@ -199,6 +197,16 @@ return [
199
197
php artisan translation:init
200
198
~~~
201
199
200
+ Note: since ** Laravel 9** , the ` lang ` directory and the default set of language files
201
+ used by Laravel are ** not** included by default in new projects
202
+ (see [ official documentation] ( https://laravel.com/docs/master/localization#publishing-the-language-files ) ),
203
+ so you may need to run the ` lang:publish ` command to generate them:
204
+
205
+ ~~~ bash
206
+ php artisan lang:publish
207
+ ~~~
208
+
209
+
202
210
If you need to add or remove languages in the future, please read
203
211
[ this section] ( #add-or-remove-language ) about that.
204
212
You can’t perform that action at this time.
0 commit comments