liuxiran removed a comment on issue #332:
URL: 
https://github.com/apache/apisix-dashboard/issues/332#issuecomment-671160851


   > Only locales under /src/pages would work as far as I know, you could have 
a test :D
   
   I tried to do i18n in src/helps.tsx, which is not under src/pages
   It worked by using `formatMessage` directly, which is not recommended, but 
the recommended way: useIntl is a react hook, only can be used in a React 
function component or a custom React Hook function.  so some locales such as 
notification msg in functions could not work. 
   
   do you mean this?
   
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to