回答編集履歴
1
ミス修正
answer
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
データファイルサイズの大きさが問題であると理解したのですが、違うということでしょうか。
|
4
4
|
|
5
|
-
jsonにこだわるのであれば、resources/lang/
|
5
|
+
jsonにこだわるのであれば、resources/lang/ja/common.phpを
|
6
6
|
|
7
7
|
```lang-php
|
8
8
|
<?php
|
9
9
|
|
10
|
-
return json_decode(file_get_contents('/path/to/
|
10
|
+
return json_decode(file_get_contents('/path/to/ja.common.json'), true);
|
11
11
|
```
|
12
12
|
|
13
13
|
とかでどうでしょうか。
|