reactjs - Localization (react typescript) -


can me on this.. want localize tsx component/s react typescript-typings.

if there way of doing please show me

my solution contains 2 asp.net webapi's. first 1 use mvc concept , other 1 use font end (using react typescript) , in project want localize components (.tsx). want know how create resources file , how call on component/s.

this home.tsx file

import * react "react";  export class home extends react.component<{}{}>  { render()  { return ( <div> <h2>welcome everyone!!</h2> </div>);  } } 

if can't ,is possible create dropdown list , on selecting langauge whole text change

if have both please show me

thanks in advance


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -