Open robbieaverill opened 4 years ago
cc @tomaszpirc
I haven't run the transifex client in ages; I need to set this up.
Setup, playing around with it during lunch. :)
ok, all pushed. However a lot of the keys have been updated (ran textcollector) so strings in transifex will need updating.
@tractorcow I'm afraid it's not over yet. At least these translations are missing:
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Localisation "Localisation"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_clearFluent "Clear from all except '{title}'"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_copyFluent "Copy '{title}' to other locales"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_unpublishFluent "Unpublish (all locales)"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_archiveFluent "Unpublish and Archive (all locales)"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_publishFluent "Save & Publish (all locales)"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_deleteFluent "Delete (all locales)"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_hideFluent "Hide from '{title}'"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.Label_showFluent "Show in '{title}'"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.ShowNotice "Record '{title}' is now visible in {locale}"
TractorCow\Fluent\Extension\Traits\FluentAdminTrait.HideNotice "Record '{title}' is now hidden in {locale}"
Another problem with translation will be actions "Copy from" and "Copy to" under Localisation tab on pages. Strings are added in CSS :/
Another problem with translation will be actions "Copy from" and "Copy to" under Localisation tab on pages. Strings are added in CSS :/
Should we open a new issue to tackle that?
@robbieaverill I've managed to translate all strings that were pushed to transifex, but please wait for the missing ones mentioned by @t3hn0 before updating.
Ah, I relied on auto-generation to build these files. :) I'll do a manual review later.
Hi folks, Since upgrading to Fluent 5, I'm getting some Textcollector errors that I suspect might be related:
Whoops \ Exception \ ErrorException (E_USER_WARNING) Error concatenating localisation key /data/site/vendor/silverstripe/framework/src/i18n/TextCollection/i18nTextCollector.php line 677
The i18nTextCollector.php apparently doesn't like an empty $currentEntity, and if I check which part it's choking on, it appears to be $currentClass = TractorCow/Fluent/Extension/Traits and $token = [ [0] => 317, [1] => '.Localisation', [2] => 103 ]
Would this also be related to the missing translations mentioned above? It's a bit of an issue for us at the moment, because it breaks the whole textcollector task. So if I can help somehow, please let me know!
My text collector throws so many errors, I have had to manually ignore most of them haha. I'll make a point to check though. :)
@tractorcow sorry for bumping this old one... but would it possible to reload the translations from Transiflex sometime again?
Hey @tractorcow, I'm happy to do this myself, but you mentioned doing something specific recently around Transifex. Would you mind pushing the English translations up for the 5.x branch?