#MAPBENDER IRC Log - 2008-06-23

For logs after Feb 3, 2007, all times are GMT-8. Prior logs are GMT-9.
Back to Logs
08:01:43 Testbaudson: 1700
08:01:48 Testbaudson: time for our weekly meeting
08:01:54 Testbaudson: let's begin with the roll call
08:01:59 Testbaudson: Christoph is here
08:02:31 ur: uli too
08:02:32 LenKne: Len
08:02:52 Testbaudson: hi mandsch
08:03:09 mandsch: hi Testbaudson
08:03:22 Testbaudson: today's agenda can be found at
08:03:43 Testbaudson: http://www.mapbender.org/IRC_Meeting#Meeting_Agenda_for_June_23.2C_2008
08:03:44 sigq: Title: IRC Meeting - MapbenderWiki ( at www.mapbender.org )
08:04:15 Testbaudson: any additions?
08:04:30 mandsch: nope
08:05:00 Testbaudson: Let's start with topic 1
08:05:11 Testbaudson: ( 1 ) Google Summer of Code Q&A
08:05:16 Testbaudson: LenKne?
08:05:28 LenKne: All is going well...
08:05:38 LenKne: Have admin template from Lars
08:05:44 LenKne: that looks good
08:05:55 LenKne: Finally going to do some coding this week...
08:06:11 LenKne: I'll work with user and group management
08:06:12 Testbaudson: So I guess you are now transforming the template into Mapbender elements?
08:06:38 LenKne: Yes, I have done some of that last week
08:07:06 Testbaudson: If you have a little time after the meeting, we should create your dev branch
08:07:21 LenKne: that would be good
08:07:53 Testbaudson: Do you know how to turn the prototype Lars sent into Mapbender elements?
08:08:42 LenKne: Yes, I think so...I've done some of the elements from Lar's template...
08:08:59 LenKne: and I have created elements in the past for mapping applications we use
08:09:27 Testbaudson: so for the admin modules, do you create "ul" elements, like in the template?
08:09:31 Testbaudson: or div?
08:09:46 LenKne: I used div
08:10:00 Testbaudson: ok
08:10:20 Testbaudson: I guess you don't use absolute positioning?
08:10:45 LenKne: I have used some, is that an issue?
08:11:08 Testbaudson: As Lars told me, using absolute positioning would ruin the scalability...
08:11:19 Testbaudson: ( the CTRL + behaviour )
08:11:42 Testbaudson: So I guess you should stick to the template as close as possible
08:12:25 Testbaudson: I suggest the following:
08:12:32 Testbaudson: - we create a branch
08:12:46 Testbaudson: - you get an online sandbox
08:12:55 Testbaudson: - I follow your work as you move on
08:13:07 : * Testbaudson is not sure where to host the sandbox...
08:13:11 Testbaudson: maybe on Telascience?
08:13:23 Testbaudson: Or is that too complicated?
08:13:33 LenKne: I have access to a server here at the university
08:13:42 Testbaudson: LenKne: brilliant!
08:14:40 LenKne: with Mapbender, MapServer and Postgres already running
08:15:28 Testbaudson: ok
08:15:54 Testbaudson: On which Mapbender do you work, Len?
08:15:57 Testbaudson: version?
08:16:19 LenKne: Lately, the latest, 2.5.r3
08:16:36 Testbaudson: ok, I think we should switch to the "trunk"...
08:16:42 Testbaudson: there have been some interesting changes
08:16:51 Testbaudson: like additions to some PHP classes
08:16:57 Testbaudson: that are useful for your project
08:17:10 Testbaudson: like a class for GUI elements etc.
08:17:30 Testbaudson: by this we, we also have less trouble merging your stuff in for 2.6
08:17:43 LenKne: Ok, I'll go grab the trunk version
08:18:07 Testbaudson: Yes, I'm still in the progress committing my code...
08:18:21 Testbaudson: and there also have been some database updates which are not yet documented...
08:18:31 Testbaudson: I will send you a mail about this tomorrow.
08:18:37 LenKne: Ok
08:19:34 Testbaudson: LenKne, anything else, or can we move on to the next topic?
08:19:44 LenKne: Let's move on
08:19:58 Testbaudson: ( 2 ) Bolsena dev sprint
08:20:20 Testbaudson: Arnulf, Christoph and Gregor have been to a 5 day dev sprint to Italy
08:20:26 Testbaudson: we have three new features
08:21:08 Testbaudson: a ) display configured WMS in OpenLayers client ( along with some refactoring )
08:21:17 Testbaudson: b ) zoom in/out by mousewheel
08:21:38 Testbaudson: c ) a tool to arrange your application elements via drag and drop
08:22:11 mandsch: wow, sounds really cool
08:22:16 mandsch: where can we try it?
08:22:33 Testbaudson: I will merge these changes back into trunk
08:22:48 Testbaudson: we did a lot of testing and the features seem stable
08:23:02 Testbaudson: so you can check out trunk later, maybe tomorrow
08:23:11 mandsch: ok, maybe we'll need a nigtly mapbender at tealscience ?
08:23:21 Testbaudson: Yes, this would be nice
08:23:27 mandsch: or at least a trunk version ...
08:24:47 Testbaudson: however, I think we should aim for a 2.6 rc in September or October
08:25:09 Testbaudson: It might contain the results from GSoC as well
08:26:23 Testbaudson: next topic?
08:27:04 Testbaudson: ( 3 ) i18n configuration for modules like printPDF ( Michael )
08:27:11 Testbaudson: mandsch, your topic
08:27:25 mandsch: well, i just wanted to bring this upfront again ;- )
08:27:32 mandsch: i am working with a rc3
08:27:42 mandsch: and trying to create a l10n gui
08:28:07 mandsch: but realizef that miodules liek printPDF are not so easy translatable
08:28:20 mandsch: sorry for the typos, too much coffee
08:28:37 Testbaudson: :- )
08:28:43 mandsch: and they path to translate them, i.e. get gettext to work is stony
08:29:04 mandsch: or at least we need to document it properly
08:29:09 Testbaudson: yes!
08:29:15 mandsch: I would do that for printPDF
08:29:23 mandsch: but would liek to discuss the steps
08:29:47 mandsch: Testbaudson: If i see that right you created a .po file from several modules?
08:30:25 Testbaudson: yes.
08:30:35 Testbaudson: You can create a single po file for the whole mapbender
08:30:44 Testbaudson: the is a site in the wiki
08:30:52 Testbaudson: called "Internationalisation"
08:30:58 mandsch: but an admin would have to transform that in an .mo - with msgfmt
08:30:59 Testbaudson: there is a command how to do this
08:31:12 Testbaudson: I guess so
08:31:42 mandsch: ok, because this means we have new dependencies on the os
08:32:06 mandsch: if i understand it correcttly, php gettext can read .mo files directly
08:32:17 mandsch: but if there are not mo-files ...
08:32:22 mandsch: but if there are no mo-files ...
08:32:51 : * Testbaudson is on the phone...
08:33:34 mandsch: I installed the appropriate packages gettext gettext-base
08:34:13 mandsch: what about windows ...?
08:34:24 mandsch: I will look for the corresponding tools
08:34:48 mandsch: the next question is:
08:35:43 : * Testbaudson is back
08:35:44 mandsch: mod_printPDF can be loaded in an iframe, i think this means we need to instantiate a new mb_lang object, is that correct?
08:36:35 Testbaudson: I guess the language id is stored in the session...
08:36:39 mandsch: either in mod_printPDF or better in print_PDF.conf because we would need the translations also in the printout
08:36:51 Testbaudson: no need for another instance
08:37:09 mandsch: and seting the textdomain and so on ...
08:38:01 : * Testbaudson has not dealt with gettext since July 2007...
08:38:09 Testbaudson: so I'm a bit lost at the moment
08:38:11 mandsch: BTW, there are some constants in class_locale: LOCALE_DOMAIN, LOCALE_DIR
08:38:21 mandsch: where are they defined?
08:39:01 Testbaudson: aren't these PHP constants?
08:39:50 mandsch: hm, domn't know?
08:40:00 mandsch: actually they were empty
08:40:21 mandsch: and we need them at last to point to ressources dir in the mapbender tree
08:40:45 mandsch: if they were default they would point to sth. like /usr/share/locale ...
08:41:05 Testbaudson: mandsch: you are right
08:41:37 mandsch: I have added them locally to mapbender.conf
08:41:40 Testbaudson: obviously, these constants are missing
08:41:48 mandsch: but maybe there is a better place ...
08:41:56 Testbaudson: no, I guess it's fine
08:42:04 Testbaudson: in mapbender.conf
08:42:10 mandsch: ok
08:42:19 mandsch: and one last thing ...
08:42:45 mandsch: can the translation of modules be changed also via ajax?
08:42:54 mandsch: aka the norelaod version?
08:42:59 mandsch: reload ...
08:43:18 Testbaudson: yes, translation is changed via AJAX
08:43:55 mandsch: but then the iframes would be reloaded automatically?
08:44:00 Testbaudson: each module should register with the localization event
08:44:42 Testbaudson: I guess if you have ugly modules like printPDF, yes :- )
08:44:49 mandsch: aahh ..., i'm still getting used to the new event model
08:45:18 mandsch: ok, but it is possible ...
08:45:52 Testbaudson: I can help if you need me
08:46:21 mandsch: ok, i'll update the wiki page you mentioned, with the results of my i18n journey...
08:46:41 mandsch: or maybe link a new page to the printPDF module page
08:46:47 Testbaudson: thanks a lot
08:46:49 mandsch: we'll see.
08:47:05 Testbaudson: a revision is badly needed
08:47:12 Testbaudson: this site has barely changed in a year
08:47:49 mandsch: you mean printPDF?
08:47:58 Testbaudson: no, the i18n wiki page
08:48:06 mandsch: ah, ok.
08:48:28 mandsch: I talked with astrid
08:48:50 mandsch: and we thought it would be good to have stk. like a recipe for admins how to setup i18n for modules
08:49:03 mandsch: i hope this will be the result of all this ...
08:49:20 Testbaudson: yes. we need a guide...
08:49:32 Testbaudson: maybe I can name a few modules that have been i18nized?
08:49:38 mandsch: ok, that ist maintenant tutti from me and i18n
08:49:53 mandsch: that would be goo
08:49:55 mandsch: d
08:50:08 Testbaudson: actually, there is a category
08:50:08 Testbaudson: http://www.mapbender.org/Category:Internationalized
08:50:10 sigq: Title: Category:Internationalized - MapbenderWiki ( at www.mapbender.org )
08:50:42 mandsch: yeah i found that one ...
08:51:45 Testbaudson: ok, so I guess we're done for today...
08:51:50 : * Testbaudson motions to close the meeting
08:52:00 mandsch: second
08:52:07 mandsch: +1
08:52:13 LenKne: +1
08:52:24 seven: +1
08:52:38 Testbaudson: LenKne: I will create your branch as soon as I have merged my code back into trunk...
08:52:51 Testbaudson: I will do so later today...
08:52:55 Testbaudson: and I will send an email
08:53:06 LenKne: Sounds good, thanks