言語キーの名称変更¶
Liferay DXP / Portal 7.4では、モジュール言語キーはportal-language-lang
と呼ばれるモジュールに集中化されていました。
ソースの場所:
liferay- [dxp|portal]/modules/apps/portal-language/portal-language-lang
Liferayのモジュールは portal-language-lang
言語キーを使用し、 portal-impl
言語キーを引き続き使用します。 ほとんどのキー名は保持されますが、多くのキーはモジュール固有の値に対応する複数の新しいキーにリファクタリングされています。
モジュールが同じ名前で異なる値の言語キーを使用した場合、portal-language-lang
はモジュール固有のサフィックスを持つ新しい言語キーを提供します。 たとえば、portal-store-gcs
モジュールとportal-store-s3
モジュールには、bucket-name-help
という名前の言語キーがありました。 これらのモジュールは、bucket-name-help
で始まり、モジュール固有のサフィックスで終わる言語キーを使用するようになりました。
モジュール固有のサフィックスの例:
モジュール |
言語キー |
---|---|
|
|
|
|
その他の場合、portal-language-lang
は、言語キーの名前に新しい値が反映された、改良された言語キーの値を提供します。 たとえば、dynamic-data-lists-lang
モジュールとdynamic-data-mapping-lang
モジュールには、changeable-default-language-description
という名前の言語キーがありました。 新しい言語キーでは、モジュール固有の値に改良されています。
改良された名前の例:
モジュール |
言語キー |
---|---|
|
|
|
|
影響を受けるモジュールを拡張し、その拡張機能が言語キーをオーバーライドする場合は、言語キーのオーバーライドを更新して新しい名前を使用します。
言語キーマップ¶
新しい言語キー名と影響を受けるモジュールは次のとおりです。
古いキー |
新しいキー |
影響を受けるモジュール |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
`library-path</0(保存済み) |
library-path-(optional)` | `sharepoint-soap-repository` |
| `mapping-description` | `mapping-description[oauth2]` | `oauth2-provider-scope-impl` |
| `mapping`(保存済み) | `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` | **置換はありません** | `asset-auto-tagger-web` |
| `maximum-number-of-tags-per-asset` | `maximum-number-of-tags` | `asset-auto-tagger-service` |
| `monitoring-configuration-name`(保存済み) | `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`(保存済み) | `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` | `名前` | `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`(保存済み) | `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`(保存済み) | `redirect-url[oauth]` | `portal-security-sso-facebook-connect-api` |
| `require-verified-account`(保存済み) | `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`(保存済み) | `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`(保存済み) | `this-configuration-is-not-saved-yet.-the-values-shown-are-the-default` | `configuration-admin-web/` |
| `timeout`(保存済み) | `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` | **置換はありません** | `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`(保存済み) | `x,-by-x` | `portal-workflow-lang` |
| `your-user-x-could-not-be-logged-in`(保存済み) | `your-user-x-could-not-be-signed-in` | `login-authentication-opensso-web` |
関連情報¶
グローバル言語キーのオーバーライド
Using Localized Messages in an MVC Portlet