-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Description
What you were expecting:
Notifications and tooltips would be translated in corresponding language.
What happened instead:
Component shows translation key instead of translated phrase.

Sample code:
I use custom i18n provider like this:
import russianDomainMessages from './i18n/ru';
import russianMessages from 'ra-language-russian';
const messages = {
ru: { ...russianMessages, ...russianDomainMessages },
};
const i18nProvider = locale => messages[locale];
const App = () => (
<Admin
locale="ru"
i18nProvider={i18nProvider}
>
...
</Admin>
);
Helper info
translate HOC works fine.
Environment
- React-admin version: 2.8.1
- Last version that did not exhibit the issue (if applicable): 2.7.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels