The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
docs: translations are case-insensitive (#63383)
Alex Yaroshdaca8d6c4e2e
diff --git a/docs/configuring-metabase/localization.md b/docs/configuring-metabase/localization.mdindex a4a8bf0a1f5..b4d75d27a49 100644--- a/docs/configuring-metabase/localization.md+++ b/docs/configuring-metabase/localization.md@@ -136,3 +136,7 @@ This setting doesn't affect [SQL queries](../questions/native-editor/writing-sql- **Unit of currency:** if you do most of your business in a particular currency, you can specify that here.- **Currency label style:** whether you want to have your currencies labeled with a symbol, a code (like "USD"), or its full name.- **Where to display the unit of currency:** this pertains specifically to tables, and lets you choose whether you want the currency labels to appear only in the column heading, or next to each value in the column.++## Localizing embedded Metabase++You can tranlate both Metabase UI elements (like button labels) and content (like dashboard names) in static embeds. See [Setting the language for static embeds](../embedding/static-embedding-parameters.md#setting-the-language-for-a-static-embed) and [Translating embedded dashboards and questions](../embedding/translations.md).diff --git a/docs/embedding/translations.md b/docs/embedding/translations.mdindex 2da91023eb4..49dfefb1dd0 100644--- a/docs/embedding/translations.md+++ b/docs/embedding/translations.md@@ -5,7 +5,7 @@ summary: Upload a translation dictionary to translate questions and dashboards i# Translate embedded dashboards and questions-{% include plans-blockquote.html feature="Content translation for static embeds" convert_pro_link_to_embbedding=true %}+{% include plans-blockquote.html feature="Translation of embedded content" convert_pro_link_to_embbedding=true %}For now, translations are only available for [static embeds](./static-embedding.md), not Interactive embedding or the Embedded analytics SDK.@@ -60,6 +60,16 @@ For example, if you have a dashboard called "Monthly Sales", it's not sufficientExact translations also apply to strings that use punctuation and special characters. For example, if you have a question title "How many Widgets did we sell this week?", you must include that exact string (with "?") into the translation dictionary. Metabase would treat "How many Widgets did we sell this week" as a different string. Essentially, the strings are keys in a table Metabase looks up, so they must match exactly.+## Translations are case-insensitive++Translations are case-insensitive. For example, if your translation dictionary has a translation:++| Language | String | Translation |+| -------- | ----------- | ------------ |+| pt-BR | Examples | Exemplos |++`Examples`, `examples`, `EXAMPLES` would all be translated as `Exemplos`. That is, Metabase won't preserve the original case; it will output the exact translation string in the dictionary.+## Include markdown formatting in translation dictionariesIf the strings you want to translate include markdown formatting, you'll need to include the formatting in the dictionary. For example: