I think its a brilliant idea. it'll open the door for not only Spanish, but
other languages as well (I'm thinking of French as well).



On Mon, Dec 24, 2018, 11:35 PM David Blevins <david.blev...@gmail.com wrote:

> I was talking with Hillmer on twitter about potentially translating
> examples into Spanish.
>
> The idea is that we could potentially do examples and documentation in
> Spanish.  Perhaps:
>
>  - http://tomee.apache.org/tomee-8.0/es/docs/
>  - http://tomee.apache.org/tomee-8.0/es/ejemplos/
>
> First note is that how we organize the files in the git repo and how we
> organize them on the website can be completely different.  We use the
> following code to collect all the examples together and do various things
> to them:
>
>  -
> https://github.com/apache/tomee-site-generator/blob/master/src/main/java/org/apache/tomee/website/Examples.java#L42
>
> Right now it will do a copy and rename, for example:
>
>  -
> https://github.com/apache/tomee/blob/master/examples/cdi-request-scope/README.md
>  - http://tomee.apache.org/tomee-8.0/examples/cdi-request-scope.html
>
> We could theoretically do something as simple as this:
>
>  -
> https://github.com/apache/tomee/blob/master/examples/cdi-request-scope/README_es.md
>  - http://tomee.apache.org/tomee-8.0/es/ejemplos/cdi-request-scope.html
>
> I.e. make a new file next to the original, then update our copying logic
> to put the prefix in the path.
>
>
> Thoughts?
>
>
> --
> David Blevins
> http://twitter.com/dblevins
> http://www.tomitribe.com
>
>

Reply via email to