Foren
Native Screen Name
Nilesh Gundecha, geändert vor 12 Jahren.
Native Screen Name
Regular Member Beiträge: 205 Beitrittsdatum: 01.12.09 Neueste Beiträge
Hi Friends,
I want to allow Screen Name to be in native language like Japanese, Chinese, etc.
I am not able to figure out how to go about this. Any help would be highly appreciated,
Regards,
Nilesh.
I want to allow Screen Name to be in native language like Japanese, Chinese, etc.
I am not able to figure out how to go about this. Any help would be highly appreciated,
Regards,
Nilesh.
jelmer kuperus, geändert vor 12 Jahren.
RE: Native Screen Name
Liferay Legend Beiträge: 1191 Beitrittsdatum: 10.03.10 Neueste Beiträge
Somebody else recently brought up the same issue
http://www.liferay.com/community/forums/-/message_boards/message/10668576
Depending on your requirements you may have to create an ext plugin to override the validateScreenName method in UserLocalServiceImpl
http://www.liferay.com/community/forums/-/message_boards/message/10668576
Depending on your requirements you may have to create an ext plugin to override the validateScreenName method in UserLocalServiceImpl
Nilesh Gundecha, geändert vor 12 Jahren.
RE: Native Screen Name
Regular Member Beiträge: 205 Beitrittsdatum: 01.12.09 Neueste Beiträge
Thanks Jelmer.
I will have to create an EXT plugin for the UserLocalServiceImpl.java. But just wondering what must be the reason for Liferay restricting the native characters ?
May be because of the underlying database character set.. But then again question arises How Liferay allow First Name, Last Name, etc to be in native.
Anyways, I will move ahead with EXT.
Regards,
Nilesh.
I will have to create an EXT plugin for the UserLocalServiceImpl.java. But just wondering what must be the reason for Liferay restricting the native characters ?
May be because of the underlying database character set.. But then again question arises How Liferay allow First Name, Last Name, etc to be in native.
Anyways, I will move ahead with EXT.
Regards,
Nilesh.
Sandeep Nair, geändert vor 12 Jahren.
RE: Native Screen Name
Liferay Legend Beiträge: 1744 Beitrittsdatum: 06.11.08 Neueste Beiträge
Its because of the friendly url that liferay creates. Liferay uses screenname to create the friendly url for its user private and public pages.
Regards,
Sandeep
PS. I remember seeing one of the blog posts of Jonas who worked with creating native friendly urls.
Regards,
Sandeep
Regards,
Sandeep
PS. I remember seeing one of the blog posts of Jonas who worked with creating native friendly urls.
Regards,
Sandeep
Nilesh Gundecha, geändert vor 12 Jahren.
RE: Native Screen Name
Regular Member Beiträge: 205 Beitrittsdatum: 01.12.09 Neueste Beiträge
Ya, even I have created the friendly urls in native characters for pages..