code-for-chapel-hill / NC-COVID-Support

Community support site, supporting COVID-19 business opening hours, Food Banks, School Meals, Farms and Social Services.
https://nccovidsupport.org
GNU General Public License v3.0
16 stars 39 forks source link

Add multi-lingual support for the user interface. #15

Closed readingdancer closed 4 years ago

readingdancer commented 4 years ago

Need work on an existing feature? (a) Describe the outcome needed/goal of the feature.

Allow the interface to be easily translatable into multiple languages.

(b) What do we need to code next?

Add a multilingual framework and change all text labels to use the framework, this should allow others to help add additional languages.

Describe alternatives you've considered I don't know if there is a special R package for multi-lingual interfaces, if not, this might be a good solution... https://github.com/i18next/react-i18next https://github.com/Appsilon/shiny.i18n

KM-Hanson commented 4 years ago

Our goals for adding multi-lingual support: (1) Keep the code separate from the translations to make the code cleaner to read and easier to understand.

(2) Make it easier for a non-technical team member to provide translations. Each translation will be in a separate language file.

(3) Translation would mainly pertain to (a) user-choice options and (b) notes about the resources (e.g., "Look for the yellow school bus!"

readingdancer commented 4 years ago

The pull request https://github.com/code-for-chapel-hill/COVID-Support-For-CH/pull/22 should fix this issue :)