Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4BE5B984F for ; Wed, 9 May 2012 17:40:08 +0000 (UTC) Received: (qmail 50622 invoked by uid 500); 9 May 2012 17:40:08 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 50509 invoked by uid 500); 9 May 2012 17:40:07 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 50500 invoked by uid 99); 9 May 2012 17:40:07 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 17:40:07 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 17:40:07 +0000 Date: Wed, 9 May 2012 14:40:13 -0300 From: Ariel Constenla-Haile To: ooo-dev@incubator.apache.org Subject: [WWW] Some issues translating download/index.html Message-ID: <20120509174013.GB28051@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5I6of5zJg18YgZEa" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) --5I6of5zJg18YgZEa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi there, We know AOO website is not set up to be (easily?) localized, but we've been doing our best with the guys on the Spanish mailing list to update the Spanish NL site, mainly translating /adapting the main English site. I've been trying to translate the download page, you can find it at http://ooo-site.staging.apache.org/es/descargar/index.html So far I see two (main) issues: * I had to make a copy of exceptions.css to adapt the cachedimages/*.png URLs * we want the look & feel and the system detection, but not the language detection: the user is on the Spanish site, the download must be a Spanish package. I hacked this by adding a variable that is set on the localized index.html via setLanguage("es"); then this variable is used instead of navigator.language. I guess that instead of this, the script code could detect if it is invoked from /download/index.html or /$LANG/xxx/[.../]index..html Is this solvable? Anyone with a better idea? The page looks like: http://people.apache.org/~arielch/images/www-es-descargar.png with this patch applied:: http://people.apache.org/~arielch/patches/localize-download-index-html.pa= tch In a perfect situation, the site should be localizable with PO files, and no need to hack stuff... but we are far from this situation. Regards --=20 Ariel Constenla-Haile La Plata, Argentina --5I6of5zJg18YgZEa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPqqv9AAoJEMjP1bm45QNWe2AP/iFr5TPOtXvKEO8R0gYL/IrN ROkwzo3zAIy/v9dfqH3Hzh+7JRFhBolwYQwZ8Gkc0qTGlLS+Fn3QSiq89Mu28GPC EkdEjFBuIXPuRazvTQ6X4hM5a/l28DV0oLp52EfMAHgOWrXq/YGD9R1cydETKRmb y7mbU0BpOgCmnbK093Ykbq61snDiMnqIiA0WGOg8oHU7xAOqTS/2G3n2m5TTLbEl wXHUbbpb9eRWNdjajmtFPNrhRt1TUj2WQLh1RtINTGvL+kpWk2RPCKntaw0xMfx6 b7eZrKnbj5v1s5UYq6P8xH9sAVKtMZe5qOas5yMnwvMuXzgPxBLdXh+/uCO08t+j CIPgULfgeGWb5r5QZOACEe8A0IYFlAoHUyQtCCqB0YwKR1NBhOpinW/a8IO+YpN8 md+L4aID6EqlNJMOygMBNIS+HipzAoY1r+ZsBPbl5macd08f7gF8NymuijYZP7u0 2SBGTl0Scfluz+YXlxopBHqDlXEccBngGE6C4HLZ4gceC5wqsvCEQ3D7pwjAa66u ry6Qa/3tE9OMGfumjcDnQxSX2lDOdnbtoYUX8VraTj2YsVRf278XuPq/9wLMgc1e ayUfZjMNnZ8Ul3DSgFPKEifdRCHK4LU2/X54zDITXIcKv2tUobpLDpFx/lUuPxCk NsgT3uVgxO3KtTy4z1Cc =F5S6 -----END PGP SIGNATURE----- --5I6of5zJg18YgZEa--