mapkyca / known-language-tools
I18N dev tools for Known
Installs: 4 514
Dependents: 47
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 0
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2024-11-11 21:17:18 UTC
README
This contains development tools for creating .pot files.
Usage
- In your plugin, require this dependency:
composer require mapkyca/known-language-tools --dev
- Copy and rename
vendor/mapkyca/known-language-tools/Sample.Gruntfile.js
to./Gruntfile.js
- Copy and rename
vendor/mapkyca/known-language-tools/Sample.package.json
to./package.json
and edit accordingly - Make a
./languages
directory in your project - Install grunt, and its dependencies (usually
npm install --only=dev
) grunt build-lang
See
- Author: Marcus Povey https://www.marcus-povey.co.uk
- Blog post https://www.marcus-povey.co.uk/2019/04/15/improved-known-i18n-development-tools/