ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] i18n and l10n question
by Nicolas Van Cleemput other posts by this author
Nov 7 2006 11:41PM messages near this date
Re: [xsl] i18n and l10n question | Re: [xsl] i18n and l10n question
& XSLT Hi,

it works now. Or translations aren't really inline, but I couldn't use that
document-thing, because the translations were all in the document I was
transforming. I now use //factory, which is the root of our document and it
works fine.

The reason I'm using _ in stead of -, is because that is the way I get the
current locale from the Java application.

Nico

Quoting David Carlisle <davidc@[...].uk> :

> 
> > therefore it is necessary that we follow l10n rules.
>  yes but often  the i18n lookup table with the
>  language translations is separate from the actual document, which often
>  makes it easier to add new translations.
> 
>  If your translations are "inline" then all you need to to is remove the
>  <xsl:for-each select="//entry"> and </xsl:for-each> lines.
> 
>  Also I note  that you are splitting the locale on _ rather than - . -
>  would be more normal for language codes such as en-uk (ISO 639-1 or ISO
>  639-2).
> 
>  David
> 
>  --~------------------------------------------------------------------
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>  To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
>  or e-mail: <mailto:xsl-list-unsubscribe@[...].com>
>  --~--
> 
> 





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@[...].com> 
--~--
Thread:
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput
Nicolas Van Cleemput

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved