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 is common pattern to carry the content language in URL as /en/foobar style path. This strategy is recommended by search engines. This might make sense to be included in pyramid_localize, so I am opening the discussion here.
But this will give error Unknown predicate values: {'LOCALE': 'en'} (did you mean ). And what if the route need to support more than one locale? Call add_route() multiple times with different locale?
It is common pattern to carry the content language in URL as
/en/foobar
style path. This strategy is recommended by search engines. This might make sense to be included in pyramid_localize, so I am opening the discussion here.Here is a preliminary gist if one wants to try out this: https://gist.github.com/miohtama/b93fd1ab11353f86e2da2b484d761358
The text was updated successfully, but these errors were encountered: