cancel
Showing results for 
Search instead for 
Did you mean: 

Language Translation: Standard Error message

02-06-2014 9:36 PM
teena_joshi Explorer
1171 views 8 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello Experts,

We are facing issue while seeing the correct translation just for a single error message, however for other error messages, translations are working fine on the same logon screen of portal.

When we try to reset the password it display correct translation for "Password has expired" error message and when we mention the length of new password less than 7 digit it displays error in English, (despite of setting user's language in Dutch) saying "Invalid new password must be no more than 7 characters long", We have also checked all relatives properties file in respective jars..but didn't find property related to this..We tried to debug the application and found that on giving this scenario, error.getmessage() method return value  "Invalid new password must be no more than 7 characters long" (instead of some constant). Seems, it has been hard-coded somewhere, Pl let us know where can we this message in portal.

Looking forward to hear from you soon..

Regards, Tia

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

teena_joshi
Explorer
0 Likes

Solved by myself....

Steffi_Warnecke
Active Contributor
0 Likes

Hello Tia,

sharing is caring, so please share your solution with the community.

Regards,

Steffi.

teena_joshi
Explorer
0 Likes

I have fixed this issue through coding. updated related properties file, and put a check where it was causing an issue and replaced it with the correct string. In this way issue got resolved..

Thank you again to all for your prompt reply and help.

Answers (2)

Answers (2)

saar_dagan
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Tia,

From what I can understand it looks like the resource bundle for that component is missing,

when you receive "PASSWORD_EXPIRED" it means that you see the key and not the value from the resource bundle.

Redeploying the SCA (enforce overwrite)  should solve it.

Best regards,

Saar

teena_joshi
Explorer
0 Likes

Thank you for reply Saar..

But I am not getting the key itself for this property (i.e error message)  "Invalid new password must be no more than 7 characters long and it is getting displayed on logon page which is built using par file., so redeploying the SCA is not gonna to help. ...pl suggest if there is other way to check

BR,Tia

Former Member
0 Likes

Hi Tia,

This could be a bug.

Could you please create a CSS ticket for this issue.

Best regards, Encho.

teena_joshi
Explorer
0 Likes

Thanks for reply Encho

We tried to print the error message receiving on logon screen and could see error.getMessage() method returning property's field say for password has expired error message, it shows "PASSWORD_EXPIRED", and same for others except one i.e "Invalid new password must be no more than 7 characters long", it seems for this error, its property and value has been set to same..that is the reason we are not getting the translation...could you pl let me know where could we see this or do we need to raise ticket??

BR,Tia

Former Member
0 Likes

Hello Tia,

 

Ticket has to be created. Please add to the ticket exact AS Java version.

 

I checked on a local system and it looks ok. So the version information is
important.

Best regards, Encho.