Files
upstream-espocrm/schema/metadata/app/language.json
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

42 lines
1.7 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://www.espocrm.com/schema/metadata/app/language.json",
"title": "app/language",
"description": "Application languages.",
"type": "object",
"properties": {
"list": {
"type": "array",
"description": "A list of languages available in the application. The name format: en_US.",
"items": {
"type": "string",
"pattern": "^[a-z]{2}_[A-Z]{2}$"
}
},
"aclDependencies": {
"type": "object",
"description": "Rules making language translations available for a user when they don't have access to a scope.",
"additionalProperties": {
"description": "A language path, items are separated by dots.",
"properties": {
"scope": {
"type": "string",
"description": "If a user has access to the scope, they will have access to translations defined by a key."
},
"field": {
"type": "string",
"description": "If a user has access to the field (of a scope), they will have access to translations defined by a key."
},
"anyScopeList": {
"type": "array",
"description": "If a user has access to any of listed scopes, they will have access to translations defined by a key.",
"items": {
"type": "string"
}
}
}
}
}
}
}