sourcebroker / t3apitranslatr
Bridge between ext:t3api and ext:translatr which allows to get language labels as JSON.
Installs: 12 165
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Type:typo3-cms-extension
Requires
- sourcebroker/t3api: ^1.0 || ^2.0 || ^3.0 || @dev
- sourcebroker/translatr: ^4.0 || ^5.0 || ^6.0 || @dev
- typo3/cms-core: ^11.5 || ^12.4
Replaces
- typo3-ter/t3apitranslatr: 3.0.0
README
What does it do?
This extension allows to get language labels from ext:translatr as JSON.
Installation
Use composer:
composer require sourcebroker/t3apitranslatr
After installing the labels are accessible by following endpoint:
/_api/translations
To narrow the number of labels fetch you can use tags on ext:translator and get only those tags that are needed on page.
/_api/translations?tags[]=general&tags[]=user
Changelog
See https://github.com/sourcebroker/t3apitranslatr/blob/master/CHANGELOG.rst