|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Globalize and HTML extensionHello,
I don't know how to add an extension HTML to my action views? But I'm also using globalize(without globalize i can do it). Who know it? Thanks |
|
|
Globalize partial rendering question.Hi gang, The website has this comment asking about naming of partials for use with Globalize: > I'm not having much luck with this: > <templatename>.<lang>.rhtml > could you possibly provide more detail > where to look on this feature? > I tried: > <templatename>.Japanese.rhtml > <templatename>.ja-JP.rhtml > <templatename>.ja.rhtml I've searched the archivesm, but it looks like he never got an answer. I'm having the same problem...my globalize partials are not being picked up when rendering. Is this a known problem? Any suggestions? Sincerely, Luke Stark |
|
|
Re: Globalize partial rendering question.> I'm not having much luck with this:
> <templatename>.<lang>.rhtml > could you possibly provide more detail > where to look on this feature? > I tried: > <templatename>.Japanese.rhtml > <templatename>.ja-JP.rhtml > <templatename>.ja.rhtml I'm doing not exactly this. I just want to add extension to web-pages. For example <%= link_to 'welcome', :action=> :index %> (WITH GLOBALIZE) generating en/welcome/index web page, but i want - en/welcome/index.html !!! What about your question - i don't know, i never do it :( But anyway thanks for reply |
|
|
RE: Globalize partial rendering question.Well, if you want to go to a static page, I would say don't give it an
:action, but rather send it a :url, that should work. -L > -----Original Message----- > From: demoversion [mailto:testmyeclipse@...] > Sent: Tuesday, October 23, 2007 8:24 AM > To: users@... > Subject: Re: Globalize partial rendering question. > > > > I'm not having much luck with this: > > <templatename>.<lang>.rhtml > > could you possibly provide more detail where to look on > this feature? > > I tried: > > <templatename>.Japanese.rhtml > > <templatename>.ja-JP.rhtml > > <templatename>.ja.rhtml > > I'm doing not exactly this. I just want to add extension to > web-pages. For example <%= link_to 'welcome', :action=> > :index %> (WITH GLOBALIZE) generating en/welcome/index web > page, but i want - en/welcome/index.html !!! > > What about your question - i don't know, i never do it :( > > But anyway thanks for reply > -- > View this message in context: > http://www.nabble.com/Globalize-and-HTML-extension-tf4671294s1 > Sent from the Globalize-rails.org mailing list archive at Nabble.com. > > |
|
|
Re: Globalize partial rendering question.You may want to try <template>.en-US.text.html.rhtml
Best, Jürgen On Oct 23, 2007, at 8:47 AM, Luke Stark wrote: > Well, if you want to go to a static page, I would say don't give it an > :action, but rather send it a :url, that should work. > > -L > >> -----Original Message----- >> From: demoversion [mailto:testmyeclipse@...] >> Sent: Tuesday, October 23, 2007 8:24 AM >> To: users@... >> Subject: Re: Globalize partial rendering question. >> >> >>> I'm not having much luck with this: >>> <templatename>.<lang>.rhtml >>> could you possibly provide more detail where to look on >> this feature? >>> I tried: >>> <templatename>.Japanese.rhtml >>> <templatename>.ja-JP.rhtml >>> <templatename>.ja.rhtml >> >> I'm doing not exactly this. I just want to add extension to >> web-pages. For example <%= link_to 'welcome', :action=> >> :index %> (WITH GLOBALIZE) generating en/welcome/index web >> page, but i want - en/welcome/index.html !!! >> >> What about your question - i don't know, i never do it :( >> >> But anyway thanks for reply >> -- >> View this message in context: >> http://www.nabble.com/Globalize-and-HTML-extension-tf4671294s1 > 7045.html#a13363079 >> Sent from the Globalize-rails.org mailing list archive at Nabble.com. >> >> |
|
|
RE: Globalize partial rendering question.Cute...but no. :)
I solved the problem, it was pilot error. -L > -----Original Message----- > From: Jürgen Feßlmeier [mailto:jfesslmeier@...] > Sent: Tuesday, October 23, 2007 12:01 PM > To: users@... > Subject: Re: Globalize partial rendering question. > > You may want to try <template>.en-US.text.html.rhtml Best, Jürgen > > On Oct 23, 2007, at 8:47 AM, Luke Stark wrote: > > > Well, if you want to go to a static page, I would say don't > give it an > > :action, but rather send it a :url, that should work. > > > > -L > > > >> -----Original Message----- > >> From: demoversion [mailto:testmyeclipse@...] > >> Sent: Tuesday, October 23, 2007 8:24 AM > >> To: users@... > >> Subject: Re: Globalize partial rendering question. > >> > >> > >>> I'm not having much luck with this: > >>> <templatename>.<lang>.rhtml > >>> could you possibly provide more detail where to look on > >> this feature? > >>> I tried: > >>> <templatename>.Japanese.rhtml > >>> <templatename>.ja-JP.rhtml > >>> <templatename>.ja.rhtml > >> > >> I'm doing not exactly this. I just want to add extension to > >> web-pages. For example <%= link_to 'welcome', :action=> :index %> > >> (WITH GLOBALIZE) generating en/welcome/index web page, but > i want - > >> en/welcome/index.html !!! > >> > >> What about your question - i don't know, i never do it :( > >> > >> But anyway thanks for reply > >> -- > >> View this message in context: > >> http://www.nabble.com/Globalize-and-HTML-extension-tf4671294s1 > > 7045.html#a13363079 > >> Sent from the Globalize-rails.org mailing list archive at > Nabble.com. > >> > >> > > |
| Free embeddable forum powered by Nabble | Forum Help |