Documentation

言語キーの名称変更

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-store-gcs

bucket-name-help[gcs]

portal-store-s3

bucket-name-help[s3]

その他の場合、portal-language-langは、言語キーの名前に新しい値が反映された、改良された言語キーの値を提供します。 たとえば、dynamic-data-lists-langモジュールとdynamic-data-mapping-langモジュールには、changeable-default-language-descriptionという名前の言語キーがありました。 新しい言語キーでは、モジュール固有の値に改良されています。

改良された名前の例:

モジュール

言語キー

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

影響を受けるモジュールを拡張し、その拡張機能が言語キーをオーバーライドする場合は、言語キーのオーバーライドを更新して新しい名前を使用します。

言語キーマップ

新しい言語キー名と影響を受けるモジュールは次のとおりです。

古いキー

新しいキー

影響を受けるモジュール

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(保存済み)

名前

oauth2-provider-web

are-you-sure-you-want-to-delete-this-role(保存済み)

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(保存済み)

enable-auto-tagging-of-assets-on-this-asset-library

depot-web

enabled(保存済み)

enable-auto-tagging-of-assets-on-this-site

asset-auto-tagger-web

enabled(保存済み)

enabled[asset-auto-tagger-service]

asset-auto-tagger-service

enabled(保存済み)

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 (保存済み)

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</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