dwyl / learn-phoenix

:fire: Phoenix is the web framework without compromise on speed, reliability or maintainability! Don't settle for less. :rocket:
649 stars 45 forks source link

i18n (internationalization) #90

Open nelsonic opened 7 years ago

nelsonic commented 7 years ago

As a person build web applications/sites in various languages I need a way to (easily) translate the app/site into different

On the Phoenix Framework Website docs http://www.phoenixframework.org/docs/ there isn't an obvious page for internationalisation ... so it's unclear how we should go about making our english web application/site

If you are totally new to internationalization (i18n) read: https://www.w3.org/International/questions/qa-i18n

Searching the Phoenix Framework site for i18n we see no results: image

But there appears to be a result when searching for the full word internationalization: image

The link is to: http://www.phoenixframework.org/blog/phoenix-10-the-framework-for-the-modern-web-just-landed Which includes the word (so we know the full-text search is working...) but is kinda useless: image The "What's Next" section of the Phoenix 1.0 announcement http://www.phoenixframework.org/blog/phoenix-10-the-framework-for-the-modern-web-just-landed#whats-next Does not go into any detail of how to implement i18n in a Phoenix app.

A bit of Googling returns these two posts:

Todo:

nelsonic commented 5 years ago

Phoenix I18n with Gettext: https://code.tutsplus.com/tutorials/phoenix-i18n--cms-30010

nelsonic commented 5 years ago

https://sevenseacat.net/posts/2015/i18n-in-phoenix-apps/