영어로 번역되지 않은 "formAlreadySubmitted" 및 "datatypeMessage" 메시지

설명 description

.lf-progress { width: 100%; height: 4px; border-radius: 3px; cursor: pointer }
.lf-progress:focus { outline: none; border: none }
.lf-progress:::-moz-range-track { cursor: pointer; background: none; border: none; outline: none }
.lf-progress:::-webkit-slider-thumb { height: 13px; width: 13px; border: 0; border-radius: 50%; background: rgba(15, 204, 206, 1); cursor: pointer }
.lf-progress:::-moz-range-thumb { height: 13px; width: 13px; border: 0; border-radius: 50%; background: rgba(15, 204, 206, 1); cursor: pointer }
.lf-progress:::-ms-track { width: 100%; height: 3px; cursor: pointer; background: rgba(0, 0, 0, 0); border-color: rgba(0, 0, 0, 0); color: rgba(0, 0, 0, 0) }
.lf-progress:::-ms-fill-lower { background: rgba(204, 204, 204, 1); border-radius: 3px }
.lf-progress:::-ms-fill-upper { background: rgba(204, 204, 204, 1); border-radius: 3px }
.lf-progress:::-ms-thumb { border: 0; height: 15px; width: 15px; border-radius: 50%; background: rgba(15, 204, 206, 1); cursor: pointer }
.lf-progress:focus::-ms-fill-lower { background: rgba(204, 204, 204, 1) }
.lf-progress:focus::-ms-fill-upper { background: rgba(204, 204, 204, 1) }
.lf-player-container :focus { outline: 0 }
.lf-popover { position: relative }
.lf-popover-content { display: inline-block; position: absolute; opacity: 1; visible; transform: translate(0, -10px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0, 0.26); transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97) }
.lf-popover-content.hidden { opacity: 0; visibility: hidden; transform: translate(0, 0) }
.lf-player-btn-container { display: flex; align-items: center }
.lf-player-btn { cursor: pointer; width: 14px }
.lf-player-btn.active { }
.lf-popover { position: relative }
.lf-popover-content { display: inline-block; position: absolute; background-color: rgba(255, 255, 255, 1); opacity: 1; transform: translate(0, -10px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0, 0.26); transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97); padding: 10px }
.lf-popover-content.hidden { opacity: 0; visibility: hidden; transform: translate(0, 0) }
.lf-arrow { position: absolute; z-index: -1; content: ""; bottom: -9px; border-style: solid; border-width: 10px 10px 0 }
.lf-left-align, .lf-left-align .lfarrow { left: 0; right: unset }
.lf-right-align, .lf-right-align .lf-arrow { right: 0; left: unset }
.lf-text-input { border: 1px solid rgba(204, 204, 204, 1); border-radius: 5px; padding: 3px; width: 60px; margin: 0 }
.lf-color-picker { display: flex; flex-direction: row; justify-content: space-between; height: 90px }
.lf-color-selectors { display: flex; flex-direction: column; justify-content: space-between }
.lf-color-component { display: flex; flex-direction: row; font-size: 12px; align-items: center; justify-content: center }
.lf-color-component strong { width: 40px }
.lf-color-component 입력[ type="range"] { margin: 0 0 0 10px }
.lf-color-component 입력[ type="number"] { width: 50px; margin: 0 0 0 10px }
.lf-color-preview { font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding-left: 5px }
.lf-preview { height: 60px; width: 60px }
.lf-popover-snapshot { width: 150px }
.lf-popover-snapshot h5 { margin: 5px 0 10px; font-size: 0.75rem }
.lf-popover-snapshot a { display: block; text-decoration: none }
.lf-popover-snapshot a:before { content: "⥼"; margin-right: 5px }
.lf-popover-snapshot .lf-note { display: block; margin-top: 10px; color: rgba(153, 153, 1) }
.lf-player-controls>div { margin-right: 5px; margin-left: 5px }
.lf-player-controls>div:first-child { margin-left: 0 }
.lf-player-controls>div:last-child { margin-right: 0 }.go4109123758 { z-index: 9999 }
.go4109123758>* { pointer-events: auto }

환경

  • Adobe Experience Manager

문제/증상

고객이 국제화되지 않은 메시지를 보고하고 있습니다. 오류 메시지 "잘못된 날짜 - 값은 날짜 데이터 유형이어야 함"은 고객의 브라우저 언어인 독일어여도 영어로 표시됩니다.

German clientlib /libs/fd/af/runtime/clientlibs/I18N/de/javascript/LogMessages.js 을 확인하면 메시지가 영어로 표시되어 있으며 메시지 일부가 동적인 자리 표시자 {0}이(가) 있습니다.

자리 표시자(EnglishMessage03.JPG)를 대체하는 함수를 확인하면 값 "date"가 하드코딩되고 영어로 되어 있어 거의 번역할 수 없다는 것을 알 수 있습니다.

재현 단계:

  • 독일어 또는 영어 clientlib를 제외한 다른 언어 확인 /libs/fd/af/runtime/clientlibs/I18N/de/javascript/LogMessages.js
  • "formAlreadySubmitted" 및 "datatypeMessage" 메시지가 영어로 표시되는지 확인합니다.

예상 동작:

메시지는 적절한 언어로 번역되어야 합니다.

숙련된 동작:

메시지는 영어로 표시됩니다.

환경 세부 정보:

  • 영향을 받는 버전: AEM 6.5.12
  • 테스트된 버전: AEM 6.5.12

해결 방법 resolution

.lf-progress {
-webkit-appearance: none;
-moz-apperance: none;
width: 100%;
/* margin: 0 10px; */
height: 4px;
border-radius: 3px;
cursor: pointer;
}
.lf-progress:focus {
outline: none;
border: none;
}
.lf-progress::-moz-range-track {
cursor: pointer;
background: none;
border: none;
outline: none;
}
.lf-progress::-webkit-slider-thumb {
-webkit-appearance: none !important;
height: 13px;
width: 13px;
border: 0;
border-radius: 50%;
background: #0fccce;
cursor: pointer;
}
.lf-progress::-moz-range-thumb {
-moz-appearance: none !important;
height: 13px;
width: 13px;
border: 0;
border-radius: 50%;
background: #0fccce;
cursor: pointer;
}
.lf-progress::-ms-track {
width: 100%;
height: 3px;
cursor: pointer;
background: transparent;
border-color: transparent;
color: transparent;
}
.lf-progress::-ms-fill-lower {
background: #ccc;
border-radius: 3px;
}
.lf-progress::-ms-fill-upper {
background: #ccc;
border-radius: 3px;
}
.lf-progress::-ms-thumb {
border: 0;
height: 15px;
width: 15px;
border-radius: 50%;
background: #0fccce;
cursor: pointer;
}
.lf-progress:focus::-ms-fill-lower {
background: #ccc;
}
.lf-progress:focus::-ms-fill-upper {
background: #ccc;
}
.lf-player-container :focus {
outline: 0;
}
.lf-popover {
position: relative;
}

.lf-popover-content {
display: inline-block;
position: absolute;
opacity: 1;
visibility: visible;
transform: translate(0, -10px);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

.lf-popover-content.hidden {
opacity: 0;
visibility: hidden;
transform: translate(0, 0px);
}

.lf-player-btn-container {
display: flex;
align-items: center;
}
.lf-player-btn {
cursor: pointer;
fill: #999;
width: 14px;
}

.lf-player-btn.active {
fill: #555;
}

.lf-popover {
position: relative;
}

.lf-popover-content {
display: inline-block;
position: absolute;
background-color: #ffffff;
opacity: 1;

transform: translate(0, -10px);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);
padding: 10px;
}

.lf-popover-content.hidden {
opacity: 0;
visibility: hidden;
transform: translate(0, 0px);
}

.lf-arrow {
position: absolute;
z-index: -1;
content: '';
bottom: -9px;
border-style: solid;
border-width: 10px 10px 0px 10px;
}

.lf-left-align,
.lf-left-align .lfarrow {
left: 0;
right: unset;
}

.lf-right-align,
.lf-right-align .lf-arrow {
right: 0;
left: unset;
}

.lf-text-input {
border: 1px #ccc solid;
border-radius: 5px;
padding: 3px;
width: 60px;
margin: 0;
}

.lf-color-picker {
display: flex;
flex-direction: row;
justify-content: space-between;
height: 90px;
}

.lf-color-selectors {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.lf-color-component {
display: flex;
flex-direction: row;
font-size: 12px;
align-items: center;
justify-content: center;
}

.lf-color-component strong {
width: 40px;
}

.lf-color-component input[ type='range'] {
margin: 0 0 0 10px;
}

.lf-color-component input[ type='number'] {
width: 50px;
margin: 0 0 0 10px;
}

.lf-color-preview {
font-size: 12px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding-left: 5px;
}

.lf-preview {
height: 60px;
width: 60px;
}

.lf-popover-snapshot {
width: 150px;
}
.lf-popover-snapshot h5 {
margin: 5px 0 10px 0;
font-size: 0.75rem;
}
.lf-popover-snapshot a {
display: block;
text-decoration: none;
}
.lf-popover-snapshot a:before {
content: '⥼';
margin-right: 5px;
}
.lf-popover-snapshot .lf-note {
display: block;
margin-top: 10px;
color: #999;
}
.lf-player-controls > div {
margin-right: 5px;
margin-left: 5px;
}
.lf-player-controls > div:first-child {
margin-left: 0px;
}
.lf-player-controls > div:last-child {
margin-right: 0px;
}@keyframes go2264125279{from{transform:scale(0) rotate(45deg);opacity:0;}to{transform:scale(1) rotate(45deg);opacity:1;}}@keyframes go3020080000{from{transform:scale(0);opacity:0;}to{transform:scale(1);opacity:1;}}@keyframes go463499852{from{transform:scale(0) rotate(90deg);opacity:0;}to{transform:scale(1) rotate(90deg);opacity:1;}}@keyframes go1268368563{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}@keyframes go1310225428{from{transform:scale(0) rotate(45deg);opacity:0;}to{transform:scale(1) rotate(45deg);opacity:1;}}@keyframes go651618207{0%{height:0;width:0;opacity:0;}40%{height:0;width:6px;opacity:1;}100%{opacity:1;height:10px;}}@keyframes go901347462{from{transform:scale(0.6);opacity:0.4;}to{transform:scale(1);opacity:1;}}.go4109123758{z-index:9999;}.go4109123758 > *{pointer-events:auto;}
The engineering team addressed the reported issue including the fix in AEM 6.5 Service Pack 16

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f