構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Fabian Socarras
Display currently selected language.
2012/12/18 12:02
答え

Fabian Socarras

ランク: New Member

投稿: 2

参加年月日: 2012/12/18

最近の投稿

I managed to create a language picker using the following function: $theme.language("fm",null,"languageId",1).

What I can't figure out is how to display the currently selected language. There a way to convert the $language_id gives me en_US when what I need to return is " English (United States)".

Thanks,

Fabian
匿名
RE: Display currently selected language.
2012/12/18 12:48
答え

匿名

change the number in the function to I think 3 that is the display style of the portlet
匿名
Re: [Liferay Forums][1. Themes in 6.x] Display currently selected language.
2012/12/18 12:49
答え

匿名

change the number in the function to I think 3 that is the display style of
the portlet

Bradley Wood
Software Engineer
Bradley.Wood@liferay.com

---

liferay.com/spain2012 <http://www.liferay.com/spain2012>

16 November 2012 |* Liferay **Italy Symposium* |
liferay.com/italy2012<http://www.liferay.com/italy2012>


Visit Us: www.liferay.com | Like Us: facebook.com/liferay | Follow Us:
twitter.com/liferay



On Tue, Dec 18, 2012 at 12:02 PM, Fabian Socarras from liferay.com <
forums@liferay.com> wrote:

> I managed to create a language picker using the following function:
> $theme.language("fm",null,"languageId",1).
>
> What I can't figure out is how to display the currently selected language.
> There a way to convert the $language_id gives me en_US when what I need to
> return is " English (United States)".
>
> Thanks,
>
> Fabian
>
>
> To view the thread, follow the link below:
>
> http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/18714801
> --
> Thanks, Liferay.com Forums <http://http://www.liferay.com>
Hitoshi Ozawa
RE: Re: [Liferay Forums][1. Themes in 6.x] Display currently selected langu
2012/12/18 13:24
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7952

参加年月日: 2010/03/23

最近の投稿

Bradley, did you repost your reply twice because you've forgotten to add ads for liferay.com? emoticon
Fabian Socarras
RE: Re: [Liferay Forums][1. Themes in 6.x] Display currently selected langu
2012/12/19 7:16
答え

Fabian Socarras

ランク: New Member

投稿: 2

参加年月日: 2012/12/18

最近の投稿

Thanks Bradley, that worked! emoticon