Skip to content
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

Provide example for localization routing #287

Open
jmarsh24 opened this issue Sep 3, 2024 · 0 comments
Open

Provide example for localization routing #287

jmarsh24 opened this issue Sep 3, 2024 · 0 comments

Comments

@jmarsh24
Copy link
Contributor

jmarsh24 commented Sep 3, 2024

The following page I have found on localization do not specify the recommended way to include localization routing into avo. I think this would improve the readability of the documentation.

for example

scope ":locale", locale: /#{I18n.available_locales.join("|")} do
  mount Avo::Engine, at: Avo.configuration.root_path
end

https://docs.avohq.io/3.0/i18n.html
https://docs.avohq.io/3.0/guides/multilingual-content.html#add-the-language-switcher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant