fluid-work IRC Logs-2012-12-10

[09:44:05 CST(-0600)] <jessm> anastasiac et al – is there planning happening?

[09:44:42 CST(-0600)] <jessm> jhung: alexn1 yura1 ^

[09:45:17 CST(-0600)] <jhung> yep. I think Justin_o is setting up the call.

[11:30:08 CST(-0600)] <Justin_o> anastasiac, jhung_away: this is how we did the strings in Decapod https://code.google.com/p/decapod/source/browse/core/js/messages.js?repo=ui

[11:30:33 CST(-0600)] <Justin_o> yura1: do you remember what the differences were between that and the way cspace does it?

[11:30:53 CST(-0600)] <yura1> Justin_o: we fetch json from server side

[11:31:41 CST(-0600)] <Justin_o> yura1: okay.. so you have a component that fetches the json and makes the strings available to the components through IoC?

[11:31:54 CST(-0600)] <anastasiac> Justin_o, then internationalization was accomplished by replacing fluid.staticEnvironment.globalBundle? or replacing decapod.globalMessages?

[11:32:29 CST(-0600)] <yura1> well i build a globalBundle component yes

[11:32:34 CST(-0600)] <yura1> and it's used throughout

[11:33:23 CST(-0600)] <Justin_o> anastasiac: sort of both.. so for things that used the render they pulled globalBundle. and those that didn't accessed the global variable from decapod.globalMessages

[11:33:33 CST(-0600)] <Justin_o> yura1: okay.. thanks

[11:33:57 CST(-0600)] <Justin_o> yura1: i take it the preferred method is to not have to use a global variable like we did for Decapod

[11:35:04 CST(-0600)] <anastasiac> Justin_o, my question is from the perspective of an integrator: I assume I'll create a list of all these strings in my language. I guess if I replace decapod.globalMessages, then the renderer components would get the changes through the globalBundle?

[11:36:00 CST(-0600)] <Justin_o> anastasiac: oh.. i think the preferred way would be to have all the strings in a json file.. rather than the js file we used for decapod.. sorry.. that's confusing we just didn't have time to build it out better there

[11:36:18 CST(-0600)] <Justin_o> anastasiac: then they would be able to point at a different json file containing the strings

[11:36:46 CST(-0600)] <anastasiac> Justin_o, how is the pointing at json files accomplished in decapod?

[11:41:30 CST(-0600)] <Justin_o> anastasiac: it isn't (sad)

[11:41:35 CST(-0600)] <Justin_o> we didn't get to that.. we cheated

[11:41:39 CST(-0600)] <Justin_o> we put it all the js file

[11:41:52 CST(-0600)] <Justin_o> so people would have to change the global variable or modify in place in this file

[11:42:04 CST(-0600)] <anastasiac> ok, thanks Justin_o, got it

[11:42:20 CST(-0600)] <Justin_o> anastasiac: ready to carry on our video player meeting if you are

[11:42:35 CST(-0600)] <anastasiac> sure

[11:42:59 CST(-0600)] <Justin_o> alexn1, jhung_away, jessm: we'll carry on the video player meeting now

[12:45:45 CST(-0600)] <jessm> jhung: i'm here now fwiw

[12:45:50 CST(-0600)] <jessm> yura1: http://www.nytimes.com/2012/12/10/technology/browser-wars-flare-again-this-time-for-phones-and-tablets.html?ref=global-home

[12:46:09 CST(-0600)] <jessm> and anyone else interested in an article about mobile browsers ^