Go Router: Multi language support #100110
Labels
a: internationalization
Supporting other languages or locales. (aka i18n)
new feature
Nothing broken; request for a new capability.
p: first party
Plugins developed by the Flutter team.
p: go_router
The go_router package
P5
Priority 5 issue (default for new feature requests; things we'd like to work on)
package
flutter/packages repository. See also p: labels.


adnanjpg commentedMar 15, 2022
•
edited
This is a feature request.
This issue is For the go_router package
In my App, I want to have multi-language support, as well as for the routes.
for example:
myapp.com/post/12-> should redirect to the post with the id 12, with setting the app language to Englishmyapp.com/gonderi/12-> should redirect to the post with the id 12, with setting the app language to TurkishThe syntax could be something like:
and in the GoRouterState, the route that redirected would be saved as a
MapEntry. so the language key would be reachable usingstate.path.key, and the route namestate.path.value.this functionality obviously can be reachable by duplicating the routes, however, when you start considering even 2 languages, this gives you 2x the code, which is very hard to maintain.
The text was updated successfully, but these errors were encountered: