-
Notifications
You must be signed in to change notification settings - Fork 113
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
|trans twig filter does not work #1011
Comments
What does "not work anymore" mean in that case? Do you see any errors? Anything in the logs? |
No, I do not see any errors, just the text is not translated. |
Can you share the version details of you setup? (October, Mall) |
Hi Tobias! on page http://eshop.forfree.cz/en/test are 2 translated vars waiting and client (http://eshop.forfree.cz/cs/test ) |
Any chance to solve it? |
I'd have to dig into this myself, but I currently do not have the time. The problem probably comes from around here: https://github.com/OFFLINE-GmbH/oc-mall-plugin/blob/develop/classes/registration/BootTwig.php#L32 It probably is a RainLab.Translate 2.0 incompatibility. October does register the Try removing the |
I see that the problem occurs on your site, but I cannot reproduce it locally. Could you share your translation strings? Are they located in |
Yes, exactly
…On 18.05.2023 10:30, Tobias Kündig wrote:
I see that the problem occurs on your site, but I cannot reproduce it
locally. Could you share your translation strings? Are they located in
|themes/xyz/lang/xx.json|?
—
Reply to this email directly, view it on GitHub
<#1011 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADNKWV6SO2PKH2WZN7KRJZLXGXM27ANCNFSM6AAAAAAXUAZ2KQ>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@chocolata from the OCMS v3 Upgrade guide:
You have to move your https://octobercms.com/support/article/rn-30#localization-updates |
Hi @tobias-kuendig , thank you for your great support as always. I've moved the The new structure then is as follows: Thank you very much as always! |
@webBook-cz Just to be sure, this couldn't be the same problem on your side? I am still unable to reproduce the issue. |
no, The traslation is in theme folder: themes/mytheme/lang/en.json - and without Mall plugin works perfect. |
Hi! I use translation strings in my theme (https://docs.octobercms.com/3.x/cms/themes/localization.html#localization-file-structure)
When your plugin is installed the twig filter |trans does not work anymore.
The text was updated successfully, but these errors were encountered: