You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some translated keywords in Laravel Lang files, but when I used ssg:generate after updating to v3 then it randomly generates from other languages...
This happens even when I specify the site in the trans tag
{{ trans:legal.disclaimersite="{locale}" }}
You can see it ends up with a mix of all different languages on this page, so now I have Spanish and Arabic on the same page.
The same is happening with the get_content tag.
It seems most languages end up being generated with Arabic which is alphabetically the first site in our sites list... besides that I don't have any other clues as to what is going on.
The text was updated successfully, but these errors were encountered:
Since the {{ site }} variable is correct, I tried using that but it seems more like the get_content and trans tags are not working correctly then... as even if I try overload them with the correct site it doesn't work:
Using the example above it would revert back to getting the Chinese zh_tw disclaimer instead of the correct one for the site bg.
tao
changed the title
Translate tag picks the wrong language when using multisite and workers
Translate tag picks the wrong language when using multisite
May 23, 2024
I have some translated keywords in Laravel Lang files, but when I used
ssg:generate
after updating to v3 then it randomly generates from other languages...This happens even when I specify the site in the trans tag
You can see it ends up with a mix of all different languages on this page, so now I have Spanish and Arabic on the same page.
The same is happening with the
get_content
tag.It seems most languages end up being generated with Arabic which is alphabetically the first site in our sites list... besides that I don't have any other clues as to what is going on.
The text was updated successfully, but these errors were encountered: