-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Since the DB server is down, I got some spare time looking into the software a way to have a localized menu for Wikisource and Wikibooks with only one domain. I have seen no official decision about that, but it seems that what is projected. First, is someone already working on that? Is there a design projected about this? I looked through the archives but could not find anything.
I entered a feature request about this on Sourceforge. Also I got the software installed and running on my PC.
I suppose that we want that the language changes acccording to users' settings with a "user_language" field in the user table.
I see a problem with the cached pages. We will need to have a cache for each language.
I am Ok or what?
Thanks, Yann
- -- http://www.non-violence.org/ | Site collaboratif sur la non-violence http://www.forget-me.net/ | Alternatives sur le Net http://fr.wikipedia.org/ | Encyclopédie libre http://www.forget-me.net/pro/ | Formations et services Linux
On Fri, Dec 26, 2003 at 02:50:21PM +0100, Yann Forget wrote:
way to have a localized menu for Wikisource and Wikibooks with only one domain. I have seen no official decision about that, but it seems that what is projected. First, is someone already working on that? Is there a design projected about this? I looked through the archives but could not find anything.
I see no practical use in it except for Chinese. What sense makes a localized UI if the article itself is in a different language?
One hint if you still wanna try: LocalSettings.php Change $wgLanguageCode = "de"; in line 43 to this little hack: $wgLanguageCode = $_SERVER['HTTP_ACCEPT_LANGUAGE']; // PHP 4.1.0 and newer
I see a problem with the cached pages. We will need to have a cache for each language.
That's true, but might be solved by having a two-layer cache. First one renders the actual article and the second renders the UI.
ciao, tom
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Thanks for your answer.
Le Friday 26 December 2003 15:01, Thomas R. Koll a écrit :
way to have a localized menu for Wikisource and Wikibooks with only one domain. I have seen no official decision about that, but it seems that what is projected. First, is someone already working on that? Is there a design projected about this? I looked through the archives but could not find anything.
I see no practical use in it except for Chinese. What sense makes a localized UI if the article itself is in a different language?
Well, we have to find a way to implement this feature for Wikisource and Wikibooks, and possibly other sites (Wikinews ?). Otherwise, if the language is set according to content, we better create a separate domain for each language, isn't? For me any option is ok as long as we have a localized UI. We have to decide this before doing anything.
See http://meta.wikipedia.org/wiki/User:Brion_VIBBER/Todo_list#Wikisource_2 and http://sources.wikipedia.org/wiki/User_talk:Maveric149
One hint if you still wanna try: LocalSettings.php Change $wgLanguageCode = "de"; in line 43 to this little hack: $wgLanguageCode = $_SERVER['HTTP_ACCEPT_LANGUAGE']; // PHP 4.1.0 and newer
Yes, but it seems also interesting to be able to change that information with the preferences form.
I see a problem with the cached pages. We will need to have a cache for each language.
That's true, but might be solved by having a two-layer cache. First one renders the actual article and the second renders the UI.
Yes, I thought about that, and even that might already exist.
ciao, tom
Thanks, Yann
- -- http://www.non-violence.org/ | Site collaboratif sur la non-violence http://www.forget-me.net/ | Alternatives sur le Net http://fr.wikipedia.org/ | Encyclopédie libre http://www.forget-me.net/pro/ | Formations et services Linux
wikitech-l@lists.wikimedia.org