process-drive/translation-drive
Composer 安装命令:
composer require process-drive/translation-drive
包简介
This library file is help for javascript locales file convert to the Excel sheet. Then Excel sheet convert to the javascript locales file.
关键字:
README 文档
README
ProcessDrive JS Translation Converter
Convert JS file as excel sheet and excel sheet convert to JS files
Installation
The preferred way to install this extension is through composer.
run
composer require process-drive/translation-drive
Either run
composer require process-drive/translation-drive:v1.0.0
or run
composer require process-drive/translation-drive:"Set your version"
to the require section of your composer.json file.
.env
JS_LOCALES = "en,no,lt,sv,pl"
JS_KEY_STRING = "no"
DIRECTORY = "resources"
JS_PROJECT_PATH = "checklist"
FIND_DIRECTORY = "language,languages"
JS_LOCALES = Set your locales files
JS_KEY_STRING = Key values render in JS File
DIRECTORY = folder name (resources or public)
JS_PROJECT_PATH = JS project file (vuejs project file)
FIND_DIRECTORY = Read Language folders (inside project file locale directory)
'resources' => {
'checklist' => {
'language' => {
en.js
no.js
}
'languages' => {
en.js
no.js
}
}
}
After Instalization
First Export your JS file and then work on it.
License
MIT
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-31
