csells / go_router

The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
https://gorouter.dev
441 stars 96 forks source link

need to make the docs switchable by language #266

Closed csells closed 2 years ago

csells commented 2 years ago

https://github.com/csells/go_router/pull/265 added Japanese docs but I don't know of a good way to show them. Ideally there would be a switch that went between EN and JA but I don't know how to do that with docs.pages.

@Salakar thoughts?

cc @toshi-kuji fyi

Ehesp commented 2 years ago

It's not currently possible but something we have thought about. We're currently working through a few internal changes so once they're completed we'll have a think about the best api/way to enable locale.

toshi-kuji commented 2 years ago

FYI: I've created a temporary web page on a tech blog media, which shows the table of contents + link to each section of the doc so that whoever wants to read in Japanese could go through the docs in order.

csells commented 2 years ago

Thanks, @toshi-kuji. I've created a temporary link on the home page of gorouter.dev until we have a better solution.