> On Jan 4, 2019, at 6:47 PM, César Hernández Mendoza <[email protected]> > wrote: > > When you click [fr] or [es], then the page for the translated examples > appears: http://localhost:8080/tomee-8.0/examples/es/ or > http://localhost:8080/tomee-8.0/examples/fr/ > Keeping the link for `Examples` the default in English: > http://localhost:8080/tomee-8.0/examples/
My perspective is we should switch this around from: - http://localhost:8080/tomee-8.0/examples/fr/ To: - http://localhost:8080/tomee-8.0/fr/examples/ Some reasons: - this approach works for more than examples and can work for other documentation as well - we could potentially use non-english names in the path instead of always the english "examples" So both combined could look like this: - http://localhost:8080/tomee-8.0/es/index.html # this would be all resources in es - http://localhost:8080/tomee-8.0/es/ejemplos/<something>.html - http://localhost:8080/tomee-8.0/es/docs/<foobar>.html This would grow better over time IMO. Thoughts? Note we can still take the PR as-is ; things can easily evolve in the codebase. -David
