Skip to content

Change '.xliff' extensions to '.xlf' #5190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2015
Merged

Conversation

xelaris
Copy link
Contributor

@xelaris xelaris commented Apr 18, 2015

Q A
Doc fix? yes
New docs? no
Applies to 2.3+
Fixed tickets

I'm not committed to this PR, since I prefer .xliff over .xlf extension personally, but when calling app/console translation:update --output-format xlf en --force you get a app/Resources/translations/messages.en.xlf file and this is especially bad if you already have an equivalent .xliff file. In addition .xlf is the default extension for distributed translations since symfony/symfony@2cb6260 and XliffFileDumper uses the xlf extension. So I think it is more consistent to show .xlf files in the doc.

@xabbuh
Copy link
Member

xabbuh commented Apr 19, 2015

👍

@xabbuh
Copy link
Member

xabbuh commented Apr 19, 2015

@xelaris Sorry I overlooked that before, but could you please also update the docs of the Translation component?

@xelaris
Copy link
Contributor Author

xelaris commented Apr 19, 2015

@xabbuh The doc of the component is updated now.

@aitboudad
Copy link
Contributor

👍

@wouterj
Copy link
Member

wouterj commented Apr 26, 2015

I agree with you Alexander. Thanks for fixing it

@wouterj wouterj merged commit 4ce1a94 into symfony:2.3 Apr 26, 2015
wouterj added a commit that referenced this pull request Apr 26, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

Change '.xliff' extensions to '.xlf'

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets |

I'm not committed to this PR, since I prefer `.xliff` over `.xlf` extension personally, but when calling `app/console translation:update --output-format xlf en --force` you get a `app/Resources/translations/messages.en.xlf` file and this is especially bad if you already have an equivalent `.xliff` file. In addition `.xlf` is the default extension for distributed translations since symfony/symfony@2cb6260 and `XliffFileDumper` uses the `xlf` extension. So I think it is more consistent to show `.xlf` files in the doc.

Commits
-------

4ce1a94 Change 'xliff' extensions and loader name to 'xlf'
@xelaris xelaris deleted the xliff-to-xlf branch October 31, 2022 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants