3 ms·
It's almost universally bad practice to reference your TMS at runtime. There are always exceptions in G11N, but typically the best route is to either dump your
by LikeAnElephant 5y ago
It's almost universally bad practice to reference your TMS at runtime. There are always exceptions in G11N, but typically the best route is to either dump your translations into a property file or cache the translations somehow (in memory or in a DB, etc)
- jancizmar 5y agoIf you use Tolgee, you should be using translations fetched from REST API in production. So you don't reference your TMS. See: https://tolgee.io/docs/web/get_started/preparing_for_production https://tolgee.io/docs/web/get_started/preparing_for_product... Or: https://tolgee.io/docs/web/using_with_react/react_preparing_for_production https://tolgee.io/docs/web/using_with_react/react_preparing_...