Skip to content

[Translator] Cache does not take fallback locales into consideration #14267

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

Closed
wants to merge 1 commit into from
Closed

[Translator] Cache does not take fallback locales into consideration #14267

wants to merge 1 commit into from

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented Apr 8, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #14267
License MIT
Doc PR n/a

As we're dumping entire catalogues including their fallbacks (standalone or inlined in ~2.7), we need to use different cache files for different sets of fallback locales.

This glitch probably exists also prior to 2.6 but the caching part was still part of the FrameworkBundle then.

What's the best way of backporting it?

@fabpot
Copy link
Member

fabpot commented Apr 8, 2015

@mpdude We do not backport fixes, we try to fix the oldest version still maintained. So, the first step is to fix 2.3 and then to merge this PR in 2.6.

@mpdude
Copy link
Contributor Author

mpdude commented Apr 8, 2015

@fabpot see #14268. Don't know how much merge superpowers Git has and if it can follow the refactorings made in Symfony 2.6.

Feel free to close this and/or use it for the 2.6+ merge.

aitboudad added a commit that referenced this pull request Apr 8, 2015
…sideration (sf2.3) (mpdude)

This PR was merged into the 2.3 branch.

Discussion
----------

[Translator] Cache does not take fallback locales into consideration (sf2.3)

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #14268
| License       | MIT
| Doc PR        | n/a

This is the Symfony 2.3 variant of #14267.

Commits
-------

0f84f3a [Translator] Cache does not take fallback locales into consideration
@aitboudad aitboudad closed this Apr 8, 2015
@aitboudad
Copy link
Contributor

sorry I think this should be merged in 2.6, the translation caching has been moved into translation component.
reopened in #14277

aitboudad added a commit that referenced this pull request Apr 9, 2015
…o consideration (mpdude)

This PR was merged into the 2.6 branch.

Discussion
----------

[2.6][Translator] Cache does not take fallback locales into consideration

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Fixed tickets  | #14267
| Tests pass?   | yes
| License       | MIT

Commits
-------

0d55b2f [Translator] Cache does not take fallback locales into consideration
@mpdude mpdude deleted the translator-cache-include-fallback-locales branch May 3, 2015 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants