https://github.com/asioso/xliff2
A bundle to help produce xliff2.0 translation files including notes from pimcore
https://github.com/asioso/xliff2
php pimcore pimcore-bundle pimcore-plugin translation
Last synced: 2 months ago
JSON representation
A bundle to help produce xliff2.0 translation files including notes from pimcore
- Host: GitHub
- URL: https://github.com/asioso/xliff2
- Owner: asioso
- License: other
- Created: 2019-07-19T10:38:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T07:09:54.000Z (over 5 years ago)
- Last Synced: 2025-08-20T17:59:28.663Z (10 months ago)
- Topics: php, pimcore, pimcore-bundle, pimcore-plugin, translation
- Language: PHP
- Homepage:
- Size: 688 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Asioso Xliff2.0 Translation Pimcore Bundle
## Prerequisites
* PHP 7.1 or higher (https://secure.php.net/)
* Composer (https://getcomposer.org/download/)
* A Pimcore Installation (v5.7 or higher)
![editor notes][notes]
![editor view][editor]
## Installation
```bash
composer require asioso/pimcore-xliff2_0-module
```
## Configuration
just enable the bundle in the pimcore extension manager
## Translation Notes
Based on pimcore Notes&Events (https://pimcore.com/docs/5.x/Development_Documentation/Tools_and_Features/Notes_and_Events.html)
add a *translation* type
e.g.: like this:
```yml
pimcore_admin:
documents:
notes_events:
types:
- ''
- 'content'
- 'seo'
- 'warning'
- 'notice'
- 'translation'
dataObjects:
notes_events:
types:
- ''
- 'content'
- 'seo'
- 'warning'
- 'notice'
- 'translation'
```
## Xliff 1
xliff1 and xliff2.0 are not compatible. to switch back to xliff1 just disable this bundle again, but make sure you have re-imported all your xliff2 files before doing that.
[editor]: https://github.com/asioso/xliff2/raw/master/documentation/img/xliff_editor.png "xliff editor"
[notes]: https://github.com/asioso/xliff2/raw/master/documentation/img/translation_notes.png "editor-notes"