Closed asadsahi closed 6 years ago
@asadsahi yep, great idea to get rid of hardcoded cultures. Idea using simple reading instead of csv reader also look good. As for me, cool, but I see, for now you don't apply translations for login or register components, right? Are you going to create another pull request for this?
@SanyaBogos I'll update rest of client side content sooner.
@SanyaBogos have a look at this PR, this one is simpler but achieving the same goal of managing translations through csv file. ClientSide still needs to wire up with translations, but can be done at some point.
Key things to note is that we dont' need to rely on any external csv parser package. simple file reading is enough. no hardcoded string of cultures. All managed through file. Right now there are only two cultures but can easily be extended for any more cultures.
Let me know what do you think or if anything is missing before I merge into master.
Thanks