Download the PHP package innovatif/i19n-editor without Composer
On this page you can find all versions of the php package innovatif/i19n-editor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innovatif/i19n-editor
More information about innovatif/i19n-editor
Files in innovatif/i19n-editor
Package i19n-editor
Short Description i18n translation editor for Silverstripe
License BSD-3-Clause
Informations about the package i19n-editor
i19n - Innternationalization editor
I19n enables you to collect and edit system translations used on Silverstripe website (both backend and frontend).
Requirements
- silverstripe/framework ^5.1
- silverstripe-terraformers/gridfield-rich-filter-header ^3
- tractorcow/silverstripe-fluent ^7
- symbiote/silverstripe-gridfieldextensions ^4
Installation
1) run composer require innovatif/i19n-editor
to install module
2) run dev/build?flush=1
For more see Configuration section.
Configuration
Default preselected modules
By default app
and themes
folder are pre-selected in scan for new translations popup. You can modify the list with:
Multi-server environment
Clear cache action clears cache on server side. You need additional controls on multi-server environment so all servers are notified to clear cache on their SS instance too.
You should set up a Cron job on every server (back-end and front-end servers) to executes task /dev/tasks/i19nClearCacheTask
on every X minutes.
Enable setting in CMS
Clear cache action now creates object in database which will tell all servers to clear cache when Cron job runs.
Features
- export translations
- downloads
.yml
if one locale is currently filtered - download
.zip
if more than one locale is filtered
- downloads
- import translations
- only
.yml
files are currently supported so you can upload one language per import - language must exist in Fluent
- only
- collector task for new translations
- you can manually add multiple translations for single i18n variable at once
- can be disabled
- clear cache after changes
- multi-server environment is supported
Versioning
This library follows Semver from tag 1.0. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library.
All methods, with public
visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected
methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading.
Changelog
See CHANGELOG.md
Authors and maintainers
Klemen Dolinšek (t3hn0)
Aljoša Balažič (aljosab)
All versions of i19n-editor with dependencies
silverstripe-terraformers/gridfield-rich-filter-header Version ^3
symbiote/silverstripe-gridfieldextensions Version ^4
tractorcow/silverstripe-fluent Version ^7