Draconic-Inc / PI-Docs

The new home for the Project Intelligence documentation repository!
17 stars 19 forks source link

Feature Request: Language priority system #19

Open TechnicJelle opened 4 years ago

TechnicJelle commented 4 years ago

Right now if you have your Minecraft language set to something that has no translation in the documentation it's quite annoying to have to override the language.

I think it would be much better to have a priority system, where you can set what language you prefer, but if the page isn't available in that language, it'll see if it is available in your second (or third..?) language and show it in that one instead. I feel like that would feel a lot more seamless.

For example: I have my language set to en_gb, but there the pages are only in en_us. Of course I would understand en_us just the same, so it's quite the hassle to have to override everything.

It would also be useful for bilingual people, who play in their mother tongue, but understand other languages as well.

(Sorry if I posted this in the wrong place. I'll post it somewhere else if needed.)

brandon3055 commented 4 years ago

Thats not a bad idea. At one point i was planning to have it automatically fall back to english if your specified language is not avalible but it seems i never actually implemented that.