Logo
Explore Help
Sign In
IntenseWebs/grafana
3
0
Fork 0
You've already forked grafana
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
3b561c81643974ed07e924882afbe19855f2aebf
grafana/.linguirc

28 lines
411 B
Plaintext
Raw Normal View History

I18N: Add Lingui core translation framework. (#41827) * I18N: Add Core Lingui framework for translating the UI * Make FieldSet accept ReactNode for the label, so it can be translated * Translate a phrase in the User profile edit form * Translate phrase * run lingui compile before webpack builds * init i18n more lazily * i1n:compile in drone lint step * wip for getting tests to work * Use mock lingui/macros because its too hard to use the real macros in Jest... * mock messages for tests * use specific lingui version * add comment for test helper * we actually don't need the i18n setup in tests because we mock out <Trans /> * update package.json * remove unneded imports * revert back babel core version * Create a I18nProvider wrapper
2021-12-15 16:00:37 +00:00
{
"locales": [
"en",
"fr",
"es"
],
"catalogs": [
{
"path": "public/locales/{locale}/messages",
"include": [
"public/app"
],
"exclude": [
"**/node_modules/**",
"public/app/plugins"
]
}
],
"fallbackLocales": {
"default": "en"
},
"sourceLocale": "en",
"format": "po",
"formatOptions": {
"lineNumbers": false
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 47ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API