다국어
-
lang, translate, locale, 다국어, global 언어 지원하기(laravel + inertia.js + nuxt 버전 추가)Laravel/Inertia.js 2022. 10. 29. 13:03
* nuxt 버전은 blueprep.com (모의고사) 참고 (아래 글도 남겨놓긴함) # What? inerita.js에서 laravel lang 사용하는법 # How? 1. 일단 lang 폴더 밑에 en, ko 등 지원하고자하는 나라별 php 언어파일 만들기 2. 파일시스템 설정하기 @ filesystems.php 'disks' => [ 'languages' => [ 'driver' => 'local', 'root' => base_path('resources/lang'), ], ], 3. 언어파일 php를 json으로 변환해줄 명령어 만들기 @ app/Console/Commands/CreateJsonTranslationFileCommand.php
-
Localization(다국어 지원)Laravel/Nova 2020. 10. 14. 17:00
- nova resource, card 등 언어설정 @resources/lang/vendor/nova 밑의 ko 폴더, ko.json 만들어서 번역 { "Actions": "작업", "Details": "상세", "If you did not request a password reset, no further action is required.": "If you did not request a password reset, no further action is required.", "Reset Password": "비밀번호 초기화", "Sorry! You are not authorized to perform this action.": "이 작업을 수행할 권한이 없습니다.", "You are receiving ..