Similar Posts

Leave a Reply

Your email address will not be published.

7 Comments

  1. HI there, nice article.
    And how about if we want to use the same files for the client side (in a react/angular) project ?
    Thank you. Nice Work!

    1. Hi, Ideally you would always have a different set of language files for client and server projects. But in cases, as you mention, it would make more sense to expose some kind of language service to which both the client and server app has access. You could also consider using the database to store translations and caching it as mentioned in the article. But I would always prefer to have separate resource files as server and client apps are always 2 different entities that should not share anything.

      Regards,
      Mukesh