OpenPecha / pecha.org-roadmap

issue and request feed for pecha.org
MIT License
0 stars 0 forks source link

RFC002: Chinese localization implementation in code #90

Closed Lungsangg closed 3 months ago

Lungsangg commented 3 months ago

This RFC002 solves RFW01

Description :

Pecha.org (which is an instance of sefaria.org) has two language ie, English and Tibetan. And need to add Chinese language feature (with more languages in future). With current localization setup, for backend, django po file is used and in frontend a js file (which have strings in english Tibetan key value pair).

A chinese language feature need to implement in code for this task.

Dependencies :

Justification :

There are two method to implement multiple language support for pecha.org. First one is to customize currenly implemented method by sefaria and second one is to discard all the sefaria method and implement reacti8n library on frontend. We chose the first method as it is implementable in the current given time and implementing reacti8n library would needs lots of changes in code that sefaria have put in place.

Implementation steps :

React

Django

Lungsangg commented 3 months ago

@kaldan007 @drupchen, Sandup and me are going though code today and will meet tomorrow morning to write rfc.