-
Notifications
You must be signed in to change notification settings - Fork 824
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
Malformed keys in translation files #10797
Comments
I've had a look through the other translations done at the same time, https://github.com/silverstripe/silverstripe-realme/pull/103/files also looks to have the same issue |
PR #10805 |
Once PR's are merged please reassign back to me so that I can continue at step number 4 |
@emteknetnz PRs reviewed and merged |
There was another PR for realme that I just created where I initially missed a translation - this is step number 5. When this has been merged please reassign back to me and I'll continue at step number 6 |
Have checked transifex - it automatically re-added the deleted translations after re-pushing the new keys as part of silverstripe/.github#57 Presumably it did this because we had a setting enabled in transifex to automatically add translations where they was a previous translations for a different source key where the source value was the same |
PRs merged. Assigning back to @emteknetnz for next steps |
Have patch released all the things |
During the latest translation run, some invalid keys were added where the key was merged with the namespace e.g.
nl.yml
6b49b6c#commitcomment-116173471
To replicate, do a fresh install of 5.0 and add the following to app/_config.php
php
The parent issue for all the translations run at this time is silverstripe/.github#50
Core issues is that there were some invalid keys added to source en.yml files, probably by i18nTextCollector.
I've done a search on sink searching for
php.
inen.yml
files in a 4.13 sink install:ACs
4.13
4.13
branches so that source en.yml keys are updated to the new and correct key4
,5.0
and5
4.4
to4
to5.0
to5
tx pull
is run for relevant modules in4.13
4.13
branches are merged-up to4
,5.0
and5
4.13
and5.0
New issues created
PRs
Second lot of PRs (step 9)
JS Translations
The text was updated successfully, but these errors were encountered: