-
Notifications
You must be signed in to change notification settings - Fork 2
[WIP] Use XLIFF resname #17
base: master
Are you sure you want to change the base?
Conversation
|
|
||
| - stage: Test | ||
| name: Symfony 4.0 | ||
| name: Symfony 4.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the problem with using the full stack, individual components are versioned (and symfony/translation won't work with 4.0). Would prefer a way to use each component at that version where possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Symfony specific, but wonder if symfony/force-lowest#2 (comment) works...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondered if symfony/flex#412 would fix, but didn't (https://travis-ci.com/libero/content-api-bundle/jobs/175370448). Opened symfony/flex#473.
Been looking in how to use XLIFF better:
@resnamecan be used as the key, while@target-languageand<target>don't have to be present. So for the source language, we're not translating. When we do translate, we'd add@target-languageand<target>. This makes it clearer since the English<source>will remain in the translation file.We don't have a use for
@id, but it's required so I've left it sequential.