Renamed Language Keys
In Liferay DXP/Portal 7.4, module language keys were centralized to a module called portal-language-lang
.
Source location:
liferay-[dxp|portal]/modules/apps/portal-language/portal-language-lang
Liferay’s modules use the portal-language-lang
language keys. Most key names are preserved, but many keys have been refactored into multiple new keys that accommodate module-specific values.
Where modules used language keys with the same name but different values, portal-language-lang
provides new language keys with module-specific suffixes. For example, the portal-store-gcs
and portal-store-s3
modules had language keys named bucket-name-help
. These modules now use language keys that start with bucket-name-help
, but end with a module-specific suffix.
Module-specific Suffix Example:
Module | Language Key |
---|---|
portal-store-gcs | bucket-name-help[gcs] |
portal-store-s3 | bucket-name-help[s3] |
In other cases, portal-language-lang
provides improved language key values in language keys whose names reflect the new values. For example, the dynamic-data-lists-lang
and dynamic-data-mapping-lang
modules had language keys named changeable-default-language-description
. New language keys have the improved module-specific values.
Improved Name Example:
Module | Language Key |
---|---|
dynamic-data-lists-lang | if-checked,-the-default-language-of-data-definitions-will-be-changeable |
dynamic-data-mapping-lang | if-checked,-the-default-language-of-dynamic-data-mapping-structures-will-be-changeable |
If you extended an affected module and your extension overrides language translations, update your language key overrides to use the new names.
Language Key Map
Here are the new language key names and the affected modules:
Old Key | New Key | Affected Modules |
---|---|---|
active-help | allow-site-administrators-to-create-sites-from-this-site-template | layout-set-prototype-web ,portal-search-elasticsearch7-api |
api-key-description | set-the-api-key-for-the-google-cloud-natural-language-api | asset-auto-tagger-google-cloud-natural-language-impl ,commerce-lang ,document-library-asset-auto-tagger-google-cloud-vision ,document-library-asset-auto-tagger-microsoft-cognitive-services ,layout-reports-web |
application-name (preserved) | name | oauth2-provider-web |
are-you-sure-you-want-to-delete-this-role (preserved) | are-you-sure-you-want-to-delete-this-role?-task-assignments-may-be-deleted | roles-admin-web |
asset-entry-type | asset-type | asset-publisher-web |
autogenerate-structure-key-description | check-this-if-dynamic-data-mapping-structure-keys-should-always-be-autogenerated | dynamic-data-mapping-lang ,journal-lang |
autogenerate-template-key-description | check-this-if-dynamic-data-mapping-template-keys-should-always-be-autogenerated | dynamic-data-mapping-lang ,journal-lang |
bucket-name-help | bucket-name-help[gcs] | portal-store-gcs |
bucket-name-help | bucket-name-help[s3] | portal-store-s3 |
changeable-default-language-description | if-checked,-the-default-language-of-data-definitions-will-be-changeable | dynamic-data-lists-lang |
changeable-default-language-description | if-checked,-the-default-language-of-dynamic-data-mapping-structures-will-be-changeable | dynamic-data-mapping-lang |
changeable-default-language-description | if-checked,-the-default-language-of-kaleo-forms-will-be-changeable | portal-workflow-kaleo-forms-lang |
changeable-default-language-description | if-checked,-the-default-language-of-web-content-articles-will-be-changeable | journal-lang |
client-id-help | client-id-help[oauth2] | oauth2-provider-web |
client-id-help | client-id-help[sso-google] | portal-security-sso-google-api |
client-secret-help | client-secret-help[oauth2] | oauth2-provider-web |
client-secret-help | client-secret-help[sso-google] | portal-security-sso-google-api |
connect-to-liferay-analytics-cloud-help | in-order-to-perform-an-ab-test,-your-liferay-dxp-instance-has-to-be-connected | segments-lang |
connect-to-liferay-analytics-cloud-help | liferay-dxp-instance-has-to-be-connected-with-analytics-cloud-to-view-content-performance-metrics-and-build-a-successful-content-strategy | analytics-reports-web |
connection-id-help | connection-id-help[elasticsearch] | portal-search-elasticsearch7-api |
connection-id-help | connection-id-help[web] | portal-search-web |
directory-indexing-help | can-user-with-view-permission-browse-the-asset-library-document-library-files-and-folders | depot-web |
directory-indexing-help | can-user-with-view-permission-browse-the-site-document-library-files-and-folders | site-admin-web |
email-from-address-description | set-the-address-from-which-asset-entry-added-emails-will-be-sent | asset-publisher-web |
email-from-address-description | set-the-sender-address-on-the-one-time-password-email | multi-factor-authentication-email-otp-api |
email-from-address | email-from-field[template] | multi-factor-authentication-email-otp-api |
enabled-class-names | enabled-class-names[google-cloud-natural-language] | asset-auto-tagger-google-cloud-natural-language-impl |
enabled-class-names | enabled-class-names[opennlp] | asset-auto-tagger-opennlp-impl |
enabled-description | enabled-description[google-cloud-translation] | translation-google-cloud-translator |
enabled-description | enabled-description[google-cloud-vision] | document-library-asset-auto-tagger-google-cloud-vision |
enabled-description | enabled-description[microsoft-cognitive-services] | document-library-asset-auto-tagger-microsoft-cognitive-services |
enabled-description | enabled-description[tensorflow] | document-library-asset-auto-tagger-tensorflow |
enabled-help | enabled-help[cas] | portal-security-sso-cas-api |
enabled-help | enabled-help[learning-to-rank] | portal-search-learning-to-rank |
enabled-help | enabled-help[ntlm] | portal-security-sso-google-api |
enabled-help | enabled-help[openid] | portal-security-sso-openid-connect-api |
enabled-help | enabled-help[sso-google] | portal-security-sso-google-api |
enabled-help | enabled-help[view-count] | view-count-api |
enabled (preserved) | enable-auto-tagging-of-assets-on-this-asset-library | depot-web |
enabled (preserved) | enable-auto-tagging-of-assets-on-this-site | asset-auto-tagger-web |
enabled (preserved) | enabled[asset-auto-tagger-service] | asset-auto-tagger-service |
enabled (preserved) | enabled[tensorflow] | document-library-asset-auto-tagger-tensorflow |
federated-search-key-help | enter-the-key-of-an-alternate-search-this-widget-is-participating-on-if-not-set-widget-participates-on-default-search | portal-search-web |
federated-search-key-help | enter-the-key-of-an-alternate-search-this-widget-is-participating-on | portal-search-similar-results-web |
import-from-ldap-help | a-user-may-be-authenticated-by-cas-and-not-yet-exist-in-the-portal | portal-security-sso-cas-api |
import-user-sync-strategy (preserved) | import-user-synchronization-strategy | portal-security-ldap-api |
in-order-to-perform-an-ab-test-your-site-has-to-be-synced-to-liferay-analytics-cloud | in-order-to-perform-an-ab-test,-your-site-has-to-be-synced-to-liferay-analytics-cloud | segments-lang |
library-path (preserved) | library-path-(optional) | sharepoint-soap-repository |
mapping-description | mapping-description[oauth2] | oauth2-provider-scope-impl |
mapping (preserved) | mapping[oauth2] | oauth2-provider-scope-impl |
maximum-file-size-small-image | maximum-file-size-of-small-image | journal-api |
maximum-number-of-tags-per-asset | No replacement | asset-auto-tagger-web |
maximum-number-of-tags-per-asset | maximum-number-of-tags | asset-auto-tagger-service |
monitoring-configuration-name (preserved) | monitoring-configuration-name[elasticsearch] | portal-search-elasticsearch-monitoring-web |
no-account-selected | to-add-a-product-to-an-order,-first-select-an-account | commerce-lang |
no-entries-for-x-have-been-added-yet (preserved) | to-add-a-product-to-an-order,-first-select-an-account | configuration-admin-web |
not-contains | does-not-contain | data-engine-lang |
numeric-field-type-description | it-only-accepts-numbers | data-engine-lang |
osgi-jaxrs-name-description | if-this-configuration-should-apply-to-a-specific-application,-then-specify-it-here.-otherwise,-leave-blank-or-enter-default | oauth2-provider-scope-impl |
osgi-jaxrs-name-description | set-the-name-for-this-jaxrs-instance | oauth2-provider-rest |
osgi-jaxrs-name | name | oauth2-provider-rest |
osgi-jaxrs-name | osgi-jaxrs-application-name | oauth2-provider-scope-impl |
paragraph-field-type-description | add-a-title-and/or-a-body-text-in-your-form | data-engine-lang |
paragraph-field-type-description | add-text,-image,-video,-and-more | dynamic-data-mapping-lang |
please-enter-a-unique-friendly-url (preserved) | please-enter-a-unique-friendly-url.-x-and-x-has-the-same-friendly-url | site-admin-web ,portal-reports-engine-console-web |
proxy-host-help | set-the-proxy-host-the-client-uses-to-connect | portal-store-s3 |
proxy-host-help | set-the-proxy-host-to-be-used-for-the-client-connection | portal-search-elasticsearch7-api |
proxy-password-help | set-the-password-for-connecting-to-the-proxy | portal-search-elasticsearch7-api |
proxy-password-help | set-the-proxy-password-to-use-if-connecting-through-a-proxy | portal-store-s3 |
proxy-port-help | set-the-proxy-port-the-client-uses-to-connect | portal-store-s3 |
proxy-port-help | set-the-proxy-port-to-be-used-for-the-client-connection | portal-search-elasticsearch7-api |
redirect-url (preserved) | redirect-url[oauth] | portal-security-sso-facebook-connect-api |
require-verified-account (preserved) | verified-account-required | portal-security-sso-facebook-connect-api |
sync-to-analytics-cloud-help | in-order-to-perform-an-ab-test,-your-site-has-to-be-synced-to-liferay-analytics-cloud | segments-lang |
sync-to-analytics-cloud-help | sync-your-liferay-dxp-instance-with-analytics-cloud-to-view-content-performance-metrics-and-build-a-successful-content-strategy | analytics-reports-web |
the-password-you-entered-for-the-current-password-does-not-match-your-current-password (preserved) | the-password-you-entered-for-the-current-password-does-not-match-your-current-password.-please-try-again | users-admin-web/ |
this-configuration-is-not-saved-yet (preserved) | this-configuration-is-not-saved-yet.-the-values-shown-are-the-default | configuration-admin-web/ |
timeout (preserved) | timeout[socket-connection-so] | antivirus-clamd-scanner |
unable-to-validate-referenced-journal-article | unable-to-validate-referenced-web-content-article | journal-lang |
user-account-setup-failed | No replacement | multi-factor-authentication-timebased-otp-web |
workflow-in-use-remove-assignement-to-x-x | workflow-is-in-use.-remove-its-assignment-to-x-x | portal-workflow-lang ,portal-workflow-kaleo-designer-lang |
workflow-in-use-remove-assignements-to-x-and-x-x | workflow-is-in-use.-remove-its-assignments-to-x-and-x-x | portal-workflow-lang ,portal-workflow-kaleo-designer-lang |
workflow-in-use-remove-assignements-to-x-x-and-x-more-x | workflow-is-in-use.-remove-its-assignment-to-x-x-and-x-more-x | portal-workflow-lang ,portal-workflow-kaleo-designer-lang |
x-by-x (preserved) | x,-by-x | portal-workflow-lang |
your-user-x-could-not-be-logged-in (preserved) | your-user-x-could-not-be-signed-in | login-authentication-opensso-web |