Mailinglist Archive: opensuse-web (64 mails)

< Previous Next >
Re: [opensuse-web] Dynamic counter change according to locale
  • From: Ludwig Nussel <ludwig.nussel@xxxxxxx>
  • Date: Thu, 30 Aug 2012 17:26:30 +0200
  • Message-id: <503F8626.4000906@suse.de>
Marguerite Su wrote:
[...]
basically it'll at first detect if default en page, if not, then see
if the local counter exists, if exists, then change the English
counter with the local one.

Actually the apache config is supposed to do that automatically. It just
fails for chinese for some reason. Other locales work. If you deploy the
suggested change you likely break other languages.
Check the quick locale switcher add-on of firefox to see the effect.
Someone with knowledge about rewrite rules would have to take a look at
the apache config to fix this properly.

cu
Ludwig

--
(o_ Ludwig Nussel
//\
V_/_ http://www.suse.de/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend├Ârffer, HRB
16746 (AG N├╝rnberg)
--
To unsubscribe, e-mail: opensuse-web+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-web+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References