teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

ミス修正

2017/04/28 01:27

投稿

takaboo
takaboo

スコア195

answer CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  データファイルサイズの大きさが問題であると理解したのですが、違うということでしょうか。
4
4
 
5
- jsonにこだわるのであれば、resources/lang/言語/common.phpを
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/js.common.json'), true);
10
+ return json_decode(file_get_contents('/path/to/ja.common.json'), true);
11
11
  ```
12
12
 
13
13
  とかでどうでしょうか。