Frontend
Translation

MetaFox translation based on react-intl (opens in a new tab)

Support phrase translation, you can use service i18n from useGlobal.

Example:

export default function TranslationDemo() {
  const { i18n } = useGlobal();
 
  return (
    <Typography>
      {i18n.formatMessage(
        {
          id: "total_balance_value",
        },
        {
          value: 100,
        }
      )}
    </Typography>
  );
}