Bixal / med-supply-cat

Concept for a medical supply catalog. A Rapid Response Team project: https://github.com/Bixal/rapid-response-team/wiki.
https://bixal.github.io/med-supply-cat/
Other
2 stars 2 forks source link

How might we add support for multiple languages? #9

Closed pglevy closed 3 years ago

pglevy commented 3 years ago

The client mentioned they are interested in making this content available in multiple languages.

Development has indicated we already have the infrastructure for supporting "internationalization" (i18n).

How might we incorporate the ability to switch between languages?

kbchumley commented 3 years ago

After doing some searching, here's the basic definitions and crossover:

In addition to creating placeholder keys, internationalization involves some other best practices:

Questions to be asked & Things to consider:

note:

kbchumley commented 3 years ago

Language Selector Design Options

Dedicated mini header for langauges: This option is good for a minimal layout with an audience that needs less language options Modal/Pop up built in Header: This option forces the user to choose a language or exit the modal. This is a good option for scanning the page without added noise Button Drop Down built in header: This option is simpler most obvious solution - debate between using the world English as an indicator or the word translate.

pglevy commented 3 years ago

Thanks Kayla! Leaning towards a link/button in the secondary links of the header, close to what you have for the third option, and going with translate for label. This works nicely with the extended header (though not the basic header without some mods). We can also put it in the footer, so we have some version of it in our templates by default. Can still play around with these, but I think this is a good start. We don't have to build the actual selector for now.

pglevy commented 3 years ago

closed by #16