cancel
Showing results for 
Search instead for 
Did you mean: 

Launchpad Designer language zh-Hans

Former Member
0 Kudos

Hi experts,

In my Launchpad designer, i logon on as ZH language.

Then i choose a catalog, create a new tile, the brower(Chrome) inform me that

"You can not change Page in language zh-Hans. Original language: zh".

i open F12, in console i write down

sap.ui.getCore().getConfiguration().getLanguage(); click 'Enter" button.

I got "zh-Hans". why is 'zh-Hans'? i obviously logon on as 'zh'.


How can i change to 'zh', then i can create a new tile? any hit? thank you.


Regards,

Archer

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

I finally found that a value should be erased in table /UI2/T002_BCP47.

Regards,

Sun Xuebin

Former Member
0 Kudos

hi, Robin, Sorry for late.

I just skip the method CHECK_ORIGINAL_LANGUAGE of /UI2/CL_EDM_DA_WD_CONFIG.

I think your way is same as mine. Does any sideeffect to our way, who knows.

BRs,

Archer

Former Member
0 Kudos

Hi Dengyong,

Good to get your reply.

Actually I've tried to bypass it in the way I said, and it does have a sideeffect, i.e. the launchpad display language will always be English, but not Chinese until the entry value is reverted back.

I raised the same issue in SCN, but got no answer. Meanwhile, I also requested a ticket to SAP official support, and finally they updated the code in Note #2308740. Hope this could be helpful.

Regards,

Xuebin

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Dengyong,

Have you already solved this problem eventually? The same problem comes to me as well.

Regards,

Sun Xuebin

gill367
Active Contributor
0 Kudos

Hi

As per the documentation on the below link, SAPUI5 assumes that 'ZH' is a SAP proprietary language code and converts it to a BCP-47 language tag which is "zh-Hans"

Identifying the Language Code / Locale - User Interface Add-On for SAP NetWeaver - SAP Library

Also

ZH

is the SAP language code for Simplified Chinese. The most generic representation in BCP47 is

zh-Hans

.

zh-CN

(Chinese, China) is another representation, but SAPUI5 decided to use

zh-Hans

.



regards,

Sarbjeet Singh

0 Kudos

Hi,

'sap.ui.getCore().getConfiguration().getLanguage()' will read your default language setting, if you didn't set it on FIORI launchpad, it will read your browser's language setting.

Former Member
0 Kudos

Hi Dongqiang,

Its not working. Even i changed the broswer language to 'zh'...

Regards,

Archer