GetBetter icon indicating copy to clipboard operation
GetBetter copied to clipboard

Added i18n support

Open ppassmannpriv opened this issue 4 years ago • 3 comments

I added i18n nuxt.js, so we can start to translate content! I changed the routerlinks for nuxtlinks, as the docs told me to and wired it all up! Content now has to be translated and maybe somebody wants to style the switch?

Resolves romanzipp/GetBetter#4

ppassmannpriv avatar Sep 14 '21 20:09 ppassmannpriv

Hey @camel-cdr Maybe u want to start translating?

ppassmannpriv avatar Sep 14 '21 20:09 ppassmannpriv

@romanzipp this can be merged btw! It will always fallback to "de" content, but i already copied all the content filed to en :)

If there are styling issues, I am happy to work on it! I just put a small link in the header that lists the available other languages. I hope that I can find the time to translate content myself, although I feel a bit more comfy if somebody else could do it :) I like code and video/3d stuff - science texts and well-written explanations arent my forte haha

ppassmannpriv avatar Sep 18 '21 23:09 ppassmannpriv

Hey, thanks for the PR! Although I would like to disable the en local until everything has been translated. Upcoming changes to german content needs to be copied over to the "english" files. In addition the content would be already exposed to search engine indexing, wrong content language possibly leading to lower SEO performance

romanzipp avatar Sep 20 '21 06:09 romanzipp