Dear Luiz
Thanks a lot, the same is not working.

Anybody help please in selecting locale condition for each language.

On Sat, Jun 4, 2016 at 4:10 AM, Luiz dos Santos <luiz...@gmail.com> wrote:

> Hi Shakir,
>
>
>     I thought in something like the code below, but I never tested, in
> deep, I'm not sure about how to select the locale, you could try it, or
> maybe somebody else in the list have a better idea.
>
> <map:transform type="IncludePageMeta">
>         <map:parameter name="stylesheet.screen#1"
> value="lib/css/reset.css"/>
>         <map:parameter name="stylesheet.screen#2"
> value="lib/css/style.css"/>
>         <map:parameter name="javascript#1" value="lib/jquery-1.2.min.js"/>
>         <map:parameter name="javascript#2" value="lib/tamu-menus.js"/>
>         <map:parameter name="theme.path" value="{global:theme-path}"/>
>         <map:parameter name="theme.name" value="{global:theme-name}"/>
>
>         <map:select type="parameter">
>             <map:parameter name="parameter-selector-test" value="locale"/>
>             <map:when test="ar">
>                 <map:parameter name="stylesheet.screen#5" value="lib/css/
> style_rtl.css"/>
>             </map:when>
>             <map:otherwise>
>              <map:parameter name="stylesheet.screen#5"
> value="lib/css/style.css"/>
>             </map:otherwise>
>          </map:select>
>          <map:parameter name="stylesheet.screen#6"
> value="lib/css/authority-control.css"/>
> </map:transform>
>
>
> Best
> Luiz
>
> On Fri, Jun 3, 2016 at 8:19 PM, Shakir Khan <shakirkhan2...@gmail.com>
> wrote:
>
>> Dear Lulz
>>
>> Thank you fr your ind help and revert aand I removed that from
>> page-structure.xml and still its working fine.. This is the dspace link
>> which I am testing http://kwarim.biz/xmlui/?locale-attribute=ar, for
>> locale-attribute=ar, I want to include style_rtl.css means want to call
>> separate css for each language so that I can change style_rtl.css for RTL
>> use.  I want to put the condition that rtl css should be called during
>> Arabic and for English default style.css is fine to be called.
>>
>>
>> <map:resource name="transform-to-xhtml">
>>
>>     <!-- Add page metadata to DRI -->
>>     <!-- This adds all Stylesheets (CSS) and Javascript (js) into the DRI 
>> XML,
>>          so that they are accessible to the XSLTs -->
>>     <!-- 3 different IncludePageMeta transformers to ensure that the
>>          stylesheets end up in the correct order-->
>>     <map:transform type="IncludePageMeta">
>>         <map:parameter name="stylesheet.screen#1" value="lib/css/reset.css"/>
>>         <map:parameter name="stylesheet.screen#2" value="lib/css/base.css"/>
>>         <map:parameter name="stylesheet.screen#3" 
>> value="lib/css/helper.css"/>
>>         <map:parameter name="stylesheet.screen#4" 
>> value="lib/css/jquery-ui-1.8.15.custom.css"/>
>>         <map:parameter name="stylesheet.screen#5" value="lib/css/style.css"/>
>>         <map:parameter name="stylesheet.screen#6" 
>> value="lib/css/authority-control.css"/>
>>     </map:transform>
>>     <map:transform type="IncludePageMeta">
>>         <map:parameter name="stylesheet.handheld" 
>> value="lib/css/handheld.css"/>
>>         <map:parameter name="stylesheet.print" value="lib/css/print.css"/>
>>     </map:transform>
>>     <map:transform type="IncludePageMeta">
>>         <map:parameter name="stylesheet.all" value="lib/css/media.css"/>
>>         <map:parameter name="javascript" 
>> value="lib/js/jquery-ui-1.8.15.custom.min.js"/>
>>         <map:parameter name="theme.path" value="{global:theme-path}"/>
>>         <map:parameter name="theme.name" value="{global:theme-path}"/>
>>         <map:parameter name="curRequestURI" value="{1}"/>
>>     </map:transform>
>>
>> When I tried to call, it gives me error. Could you please help me to
>> handle this situation for calling the different css for each language.
>>
>>
>>
>> On Sat, Jun 4, 2016 at 2:31 AM, Luiz dos Santos <luiz...@gmail.com>
>> wrote:
>>
>>> Hi Shakir,
>>>
>>
>


-- 
Kind Regards
........................
*Dr. Shakir Khan*
Assistant Professor
Office: FR 196 | College of Computer and Information Sciences
Information Studies Department
Al-Imam University
Riyadh 11432 | Saudi Arabia
Off: +966.11.25.88611
Cell: +966 . 507482633
*Publication Details :)*
https://scholar.google.com/citations?user=uw0eUGQAAAAJ&hl=en

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to