i tried to load css files after the Localize <map:act type="locale">

 but it returns error


On Sat, May 26, 2012 at 4:24 AM, Mark Diggory <[email protected]> wrote:

> Yes, you are correct that the "exact" locale used is difficult to
> determine in the dri generation stage.  The actual locale selection
> employed is currently in the i18n transformer that is using fail-safes to
> select the available language. This transformation stage is long after DRI
> or even theming has completed.
>
> I thought about this a bit... It really should have been a feature of the
> I18NTransformer in Cocoon.  In light of this, another quick/theme based
> alternative may be to add an xhtml to xhtml XSLT Identity transformer that
> would be executed after the i18n stage in the theme pipeline, using it to
> catch the applied locale with some sort of message key added specifically
> to designate ltr or rtl...
>
> It would come after this point in the pipeline:
>
>
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/sitemap.xmap#L157
>
> Then you could render the xhtml:html/xhtml:head/xhtml:link css choice
> and/or xhtml:body tag settings via the presence of the ltr or rtl message
>
> Mark
>
> On Fri, May 25, 2012 at 4:56 PM, helix84 <[email protected]> wrote:
>
>> On Sat, May 26, 2012 at 1:49 AM, Mark Diggory <[email protected]>
>> wrote:
>> > It will be available in the userMeta
>> >
>> > <meta>
>> > <userMeta authenticated="no">
>> > <metadata element="identifier" qualifier="loginURL">/login</metadata>
>> > <metadata element="language" qualifier="RFC3066">en_US</metadata>
>> > <metadata element="language" qualifier="RFC3066">en</metadata>
>> > </userMeta>
>>
>> As you can see even in this case, all locales that were requested via
>> Accept-Language (even if such message catalog is not available) are
>> listed here, not just the one that Cocoon decides to use for l10n. Try
>> adding some more languages in your browser settings.
>>
>> Regards,
>> ~~helix84
>>
>
>
>
> --
> [image: @mire Inc.]
> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> http://www.atmire.com
>
>
>
>
> --
> [image: @mire Inc.]
> *Mark Diggory *(Schedule a Meeting <https://tungle.me/markdiggory>)
> *2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> http://www.atmire.com
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to