Skip to content
Snippets Groups Projects
Unverified Commit 42caad57 authored by Jeff Bruemmer's avatar Jeff Bruemmer Committed by GitHub
Browse files

docs - locale for static and public links (#47194)

parent e8904acf
No related branches found
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ You can preview appearance settings from your question or dashboard's [embedded
\* Available on [Pro](https://www.metabase.com/product/pro) and [Enterprise](https://www.metabase.com/product/enterprise) plans.
### Allow people to download the results of an embedded question
## Allow people to download the results of an embedded question
{% include plans-blockquote.html feature="Downloading results" %}
......@@ -199,6 +199,19 @@ If the download button is missing when you expected it to be available, check th
> Downloading results is available only for questions, not dashboards.
## Setting locale on a static embed
To display a static embed in a different language, you can set a locale for the embed. See a list of [supported locales](https://github.com/metabase/metabase/tree/master/locales).
To set a locale, add `locale=[LOCALE]` to your iframe URL, e.g., `locale=de-DE`.
Locale must come after the `?` in the URL and before the `#` (if you're including appearance settings). Like so:
```javascript
iframeUrl = urljoin(METABASE_SITE_URL, "/embed/dashboard/" + token + "?locale=de-DE#theme=night&background=false&bordered=true&titled=true&downloads=true")
```
Locale only affects UI elements; Metabase won't translate the text of your items (e.g., it won't translate the title of a question).
## Maximum request size
The maximum length of a static embedding URL (including all parameters) is the value of your [`MB_JETTY_REQUEST_HEADER_SIZE`](../configuring-metabase/environment-variables.md#mb_jetty_request_header_size) environment variable. The default is 8192 bytes.
......
......@@ -55,13 +55,13 @@ View data permission settings apply to different levels in your database:
| View data permission | Database | Schema | Table |
| -------------------- | -------- | ------ | ----- |
| Can view | ✅ | ✅ | ✅ |
| Granular* | ✅ | ✅ | ❌ |
| Granular\* | ✅ | ✅ | ❌ |
| Sandboxed | ❌ | ❌ | ✅ |
| Impersonated | ✅ | ❌ | ❌ |
| Blocked | ✅ | ✅ | ✅ |
* The "Granular" setting is not itself a type of permission; it just signals that permissions are set at a level below the current level. For example, you can select "Granular" at a schema level to set permissions per table for tables in that schema.
\* The "Granular" setting is not itself a type of permission; it just signals that permissions are set at a level below the current level. For example, you can select "Granular" at a schema level to set permissions per table for tables in that schema.
In the free, open-source version of Metabase, the **View data** setting defaults to "Can view". Since the setting's options aren't available in the OSS version, Metabase will only display this **View data** setting in the Pro/Enterprise version.
......
......@@ -165,7 +165,21 @@ Note that the name of the filter in the URL should be specified in lower case, a
/dashboard/42?filter_for_user_zip_code=02116
```
## Disable public sharing in Metabase
## Setting a locale on a public link
To display a publicly linked item in a different language, you can set its locale. See a list of [supported locales](https://github.com/metabase/metabase/tree/master/locales).
To set a locale, add `locale=[LOCALE]` to your URL, e.g., `locale=de-DE`.
Locale must come after the `?` in the URL and before the `#` (if you're including appearance settings). Like so:
```txt
https://www.example.com/public/dashboard/tk421r2d2-c3P0-4a60-7e5a-30df125122e9?locale=de-DE#theme=night
```
Locale only affects UI elements; Metabase won't translate the text of your items (e.g., it won't translate the title of a question).
## Disable public sharing
Public sharing is enabled by default.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment