elixirschool / school_house

The new era of Elixir School now powered by @phoenixframework
https://elixirschool.com/
Apache License 2.0
155 stars 49 forks source link

The whole page should be localized #154

Closed gemantzu closed 2 years ago

gemantzu commented 3 years ago

Right now, when you click on a translation on the top right, nothing changes besides the lessons' content itself.

What should change:

doomspork commented 3 years ago

@gemantzu have you checked the code itself to see if it has gettext setup? We may just need to generate the localses?

gemantzu commented 3 years ago

no, doing so right now. The translation landing page though and the navbar localized lessons should not be gettext specific, I think it's code specific

gemantzu commented 3 years ago

Hm, I see that the navbar lesson titles are coming from gettext, AND the setup for the english version is there. Are we good with this option, or do you think we should rely on the lessons themselves to provide these titles?

Camilotk commented 2 years ago

I noticed it also! Its a minor thing since all lessons are translated but cause a bad impression for people who won't understand english since looks like the localization won't work in first glance.

I'm from Brazil, most people I recommend the content in elixir school won't know english would be nice have the main page and menus in Portuguese.

Screenshot(3)

tenshikiri commented 2 years ago

192 should do the trick!

tenshikiri commented 2 years ago

All that's needed now for all languages, is to have each .po file in here translated accordingly.

kinson commented 2 years ago

Closing out this issue since it was added in #192, feel free to re-open or create a new issue if there is more work, but since we have the ground work laid for full-page translations I think we can close it safely.