API reference
Permissions
Every permission identifier of the plugin, generated from permissions/.
Generated from crates/tauri-plugin-i18n-next/permissions/default.toml and permissions/autogenerated/, which Tauri writes from the command list on build.
Default permission set
Identifier: i18n-next:default
What the front end needs: the meta (tags, chains, formats), load the payload and pages, read and switch the locale. report_missing (dev only) is not included: add i18n-next:allow-report-missing to a dev capability.
allow-load, allow-load-page, allow-meta, allow-get-locale, allow-available-locales, allow-pages, allow-set-locale
All permissions
| Identifier | Description | In default |
|---|---|---|
i18n-next:allow-available-locales | Enables the available_locales command without any pre-configured scope. | ✓ |
i18n-next:deny-available-locales | Denies the available_locales command without any pre-configured scope. | |
i18n-next:allow-get-locale | Enables the get_locale command without any pre-configured scope. | ✓ |
i18n-next:deny-get-locale | Denies the get_locale command without any pre-configured scope. | |
i18n-next:allow-load | Enables the load command without any pre-configured scope. | ✓ |
i18n-next:deny-load | Denies the load command without any pre-configured scope. | |
i18n-next:allow-load-page | Enables the load_page command without any pre-configured scope. | ✓ |
i18n-next:deny-load-page | Denies the load_page command without any pre-configured scope. | |
i18n-next:allow-meta | Enables the meta command without any pre-configured scope. | ✓ |
i18n-next:deny-meta | Denies the meta command without any pre-configured scope. | |
i18n-next:allow-pages | Enables the pages command without any pre-configured scope. | ✓ |
i18n-next:deny-pages | Denies the pages command without any pre-configured scope. | |
i18n-next:allow-report-missing | Enables the report_missing command without any pre-configured scope. | |
i18n-next:deny-report-missing | Denies the report_missing command without any pre-configured scope. | |
i18n-next:allow-set-locale | Enables the set_locale command without any pre-configured scope. | ✓ |
i18n-next:deny-set-locale | Denies the set_locale command without any pre-configured scope. |