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
It appears to get confused and only generates the default locale related content (i.e. en) to the path "/locale/categories/term1", "/locale/categories/term2". Note: I'm saying it actually goes to the "locale" folder not "en". So the /:locale/... gets translated to /locale/...
Expected behavior
Each locale is generated when the multi extension is used.
**Computing environment **
OS: Mac OS X 13.1
Browser Brave
Browser Version v1.47.186 (latest)
Ruby Version 3.2
Additional context
I'm able to work around it by, generating a file a prototype file for each locale. One example:
Multi locales are not supported in prototype pages
Bridgetown Version:
1.2
To Reproduce
Generate a prototype page using the standard docs.
and save it as
categories/category.multi.html
. it only generates in the default locale.If you set permalink:
It appears to get confused and only generates the default locale related content (i.e.
en
) to the path "/locale/categories/term1", "/locale/categories/term2". Note: I'm saying it actually goes to the "locale" folder not "en". So the/:locale/...
gets translated to/locale/...
Expected behavior
Each locale is generated when the
multi
extension is used.**Computing environment **
Additional context
I'm able to work around it by, generating a file a prototype file for each locale. One example:
Filename: `src/category.en-AU.erb"
The text was updated successfully, but these errors were encountered: