Zotonic
Zotonic
zotonic@conference.zotonic.com
Wednesday, 17 April 2013< ^ >
arjan has set the subject to: Zotonic - the Erlang Content Management Framework
Room Configuration

GMT+2
[08:19:08] arcusfelis joins the room
[08:57:39] Arjan joins the room
[09:20:00] Andreas Stenius joins the room
[09:42:02] <Marc Worrell> Cool, how to make an UI prototype with Mac OS X Quartz Composer: https://vimeo.com/user5164093/videos
[09:57:14] arcusfelis leaves the room
[10:04:49] arcusfelis joins the room
[10:13:30] arcusfelis leaves the room
[10:23:43] arcusfelis joins the room
[10:36:50] Marc Worrell leaves the room: Disconnected: Replaced by new connection
[10:36:50] Marc Worrell joins the room
[12:04:11] Andreas Stenius leaves the room
[14:09:44] Maas joins the room
[14:11:21] Maas leaves the room
[15:03:53] Maas joins the room
[15:04:05] <Maas> Config problem on zotonic.nl?
[15:04:13] <Maas> It loads the status site.
[15:05:25] <Maas> haha, probably not in the alias list, zotonic.com works fine...
[15:21:56] Andreas Stenius joins the room
[15:22:38] <Arjan> heh
[15:22:41] <Arjan> didnt even know we have zotonic.nl
[15:24:15] <Arjan> fixed, http://zotonic.nl
[15:40:58] <Andreas Stenius> how about translating text from a template variable (or model value)? I know about {_ text _} but I guess it only works on static text, right?
[15:41:06] <Andreas Stenius> also {{ _"foo" }}...
[15:41:36] <Andreas Stenius> ok, I've not tried {{ _ m.rsc[foo].prop }}, but I guess it won't work... ?
[15:43:17] <Arjan> I dont think so
[15:43:25] <Arjan> because those translations are generated compiletime
[15:43:38] <Andreas Stenius> yeah, so how about dynamic translations?
[15:43:53] <Arjan> if a prop is a {trans, ...} structure, it will work automagically
[15:44:03] <Arjan> so {trans, [{nl, "Hallo"}, {en, "Hello"}]}
[15:44:20] <Arjan> so that should be the value
[15:44:49] <Andreas Stenius> yeah, but that feels like a bit much overhead..
[15:44:52] <Andreas Stenius> hmm...
[15:45:51] <Arjan> overhead?
[15:45:53] <Andreas Stenius> in that case I guess {% _ id.foo en="Foo" nl="Bar" %} could work... ?
[15:45:57] <Andreas Stenius> yeah..
[15:46:03] <Arjan> {_ _} is meant for static translations
[15:46:05] <Andreas Stenius> I have a select input
[15:46:07] <Arjan> ones that do not change
[15:46:29] <Andreas Stenius> and I want to translate the submitted value from it in another page
[15:46:49] <Arjan> maybe you can make a filter for that
[15:46:53] <Arjan> to do it in runtime
[15:47:11] <Andreas Stenius> yep, I felt I missed a gettext translation filter :p
[15:47:22] <Arjan> :)
[15:47:34] <Arjan> {{ "foo"|translate }}
[15:47:36] <Andreas Stenius> just wanted to make sure I wasn't missing something simple :)
[15:47:39] <Andreas Stenius> +1 :)
[15:47:41] <Arjan> :)
[15:48:25] Arjan leaves the room
[16:42:39] <Andreas Stenius> + points to Arjan for documenting templates! :) http://zotonic.com/docs/0.9/ref/templates/template_directory_index.html#template-directory-index
[17:15:03] <Maas> @marc this is really nice. elli now has an experimental branch which has support for handing over the socket... https://github.com/knutin/elli/tree/handover/ One of the things we where missing...
[17:15:30] <Andreas Stenius> nice
[17:16:29] <Maas> Then we can make a webmachine - elli integration. :-)
[17:16:53] <Maas> (which will take quite a bit of work)
[17:19:07] Arjan joins the room
[17:20:24] Maas leaves the room
[17:38:48] Arjan leaves the room
[18:05:47] Arjan joins the room
[18:18:22] Arjan leaves the room
[19:47:22] arcusfelis leaves the room
[19:47:50] arcusfelis joins the room
[20:06:40] simon.smithies joins the room
[20:46:31] Arjan joins the room
[21:01:39] Arjan leaves the room
[21:21:51] Maas joins the room
[21:22:16] Maas leaves the room
[21:59:44] arcusfelis leaves the room
[22:00:17] Maas joins the room
[22:26:34] simon.smithies leaves the room
[22:31:34] <Andreas Stenius> Yay! Just looked at my first blog site, created from a new "zhost" site :)
[22:35:22] <Marc Worrell> Now I have to follow you :)
[22:35:56] <Marc Worrell> Move all my web sites to a single Zotonic one - didn't update those sites in the last years...
[22:56:22] <Andreas Stenius> yeah.. I think it will become much easier to manage many sites when the hassle of creating, updating and migrating sites are easier.. :)
[22:57:46] Andreas Stenius leaves the room
[23:05:07] Maas leaves the room
Powered by ejabberd Powered by Erlang Valid XHTML 1.0 Transitional Valid CSS!