Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2013-04-18 Thread André
Dear all,

Has anyone had success in implementing this patch to DS3.1 xmlui mirage?

The page supportedLocale metadata does not appear in the DRI; even if I
force something like
pageMeta.addMetadata("page", "supportedLocale").addContent("de");
it does not appear.

Thank you and regards
André Assada


2011/12/8 Claudia Jürgen 

> Hello Keiji,
>
> the typo is fixed.
>
> Claudia
>
>
> Am 08.12.2011 01:54, schrieb SUZUKI Keiji:
> > Hi Elvi,
> >
> >> Although I'm wondering why it
> >> is still using messages.xml even if I choose Japanese in the language
> >> selector. I tried with other languages (in fact I tried all the included
> >> messages_.xml) and only German, Spanish, Italian, Catalan and Czech are
> >> working. All included locales are working in jspui though I know it is
> not
> >> using the messages_.xml. Please advise what I'm missing.
> >
> > Because there is a bug in messages_ja.xml at the repository.
> > Replace the first line of the
> > DSPACE-INSTALL-DIR/webapps/xmlui/i18n/messages_ja.xml
> > from
> > 
> > to
> > 
> >
> > To Claudia, could you correct this in the repository?
> >
> > Thanks,
> > Keiji Suzuki
> > Ebetsu, Japan
>
> --
> Claudia Juergen
> Universitaetsbibliothek Dortmund
> Eldorado
> 0231/755-4043
> https://eldorado.tu-dortmund.de/
>
>
> --
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point
> of
> discussion for anyone considering optimizing the pricing and packaging
> model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-07 Thread Claudia Jürgen
Hello Keiji,

the typo is fixed.

Claudia


Am 08.12.2011 01:54, schrieb SUZUKI Keiji:
> Hi Elvi,
>
>> Although I'm wondering why it
>> is still using messages.xml even if I choose Japanese in the language
>> selector. I tried with other languages (in fact I tried all the included
>> messages_.xml) and only German, Spanish, Italian, Catalan and Czech are
>> working. All included locales are working in jspui though I know it is not
>> using the messages_.xml. Please advise what I'm missing.
>
> Because there is a bug in messages_ja.xml at the repository.
> Replace the first line of the
> DSPACE-INSTALL-DIR/webapps/xmlui/i18n/messages_ja.xml
> from
> 
> to
> 
>
> To Claudia, could you correct this in the repository?
>
> Thanks,
> Keiji Suzuki
> Ebetsu, Japan

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-07 Thread Nemiz, Elvi S.
Hello Keiji,

Thank you once again for pointing that out. By the way, to what directory
in the dspace-src will I copy the edited messages.xml so that it will not
be overwritten if I rebuild Dspace?

Thanks and regards,
Elvi

On Thu, Dec 8, 2011 at 8:54 AM, SUZUKI Keiji  wrote:

> Hi Elvi,
>
> > Although I'm wondering why it
> > is still using messages.xml even if I choose Japanese in the language
> > selector. I tried with other languages (in fact I tried all the included
> > messages_.xml) and only German, Spanish, Italian, Catalan and Czech are
> > working. All included locales are working in jspui though I know it is
> not
> > using the messages_.xml. Please advise what I'm missing.
>
> Because there is a bug in messages_ja.xml at the repository.
> Replace the first line of the
> DSPACE-INSTALL-DIR/webapps/xmlui/i18n/messages_ja.xml
> from
> 
> to
> 
>
> To Claudia, could you correct this in the repository?
>
> Thanks,
> Keiji Suzuki
> Ebetsu, Japan
>
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-07 Thread SUZUKI Keiji
Hi Elvi,

> Although I'm wondering why it
> is still using messages.xml even if I choose Japanese in the language
> selector. I tried with other languages (in fact I tried all the included
> messages_.xml) and only German, Spanish, Italian, Catalan and Czech are
> working. All included locales are working in jspui though I know it is not
> using the messages_.xml. Please advise what I'm missing.

Because there is a bug in messages_ja.xml at the repository.
Replace the first line of the
DSPACE-INSTALL-DIR/webapps/xmlui/i18n/messages_ja.xml
from

to


To Claudia, could you correct this in the repository?

Thanks,
Keiji Suzuki
Ebetsu, Japan

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-07 Thread Nemiz, Elvi S.
Dear Keiji,

Thank you so much for pointing that out. I applied the patch to
/viewArtifacts/Navigation.java and it worked! Although I'm wondering why it
is still using messages.xml even if I choose Japanese in the language
selector. I tried with other languages (in fact I tried all the included
messages_.xml) and only German, Spanish, Italian, Catalan and Czech are
working. All included locales are working in jspui though I know it is not
using the messages_.xml. Please advise what I'm missing.

Thank you again for all the help.

Regards,
Elvi

P.S. Where can I find other languages especially Asian languages like Thai?
(messages_th.xml)

2011/12/7 SUZUKI Keiji 

> Hi Elvi,
>
> The first patch in the i18nBasicsForXmuli.patch of DS-842
> is for  dspace-xmlui/dspace-xmlui-api/src/main/java/
> org/dspace/app/xmlui/aspect/artifactbrowser/Navigation.java
>
> From DSpace1.7.0, ArtifactBrowser is deprecated and ViewArtifacts
> is used instead. Maybe you have to apply this patch to
> dspace-xmlui/dspace-xmlui-api/src/main/java/
> org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java
>
> Keiji Suzuki
> Ebetsu, Japan
>
> 2011/12/7 Nemiz, Elvi S. :
> > Hello Dspace users,
> >
> > The language switch is working in jspui by the way. I don't know why it
> is
> > not working in xmlui.
> >
> > Thanks and regards,
> > Elvi
> >
> > 2011/12/7 
> >>
> >> > Dear Robert,
> >> >
> >> > After applying the patches found in
> >> > https://jira.duraspace.org/browse/DS-842,
> >> > I think the supposedly language selector is not showing up because
> there
> >> > is
> >> > no  even though I
> >> > have
> >> > added de, ja in webui.supported.locales and xmlui.supported.locales in
> >> > dspace.cfg. I don't know what causes this and maybe the language
> >> > selector
> >> > is not showing because of this test in page-structure.xsl:
> >> > 
> >> >  >> >
> >> >
> test="count(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale'])
> >> > > 1">
> >> >
> >> > I also tried to viewed your raw DRI of your repository by inserting
> >> > /DRI/
> >> > after xmlui and your repository don't have supportedLocale either. I
> >> > really
> >> > appreciate your suggestion of implementing links and appending
> >> > ?local-attribute=[language] but this won't work if the url string has
> ?.
> >> >
> >> > Thank you for your help and hope someone can take a view on this.
> >> >
> >> > Regards,
> >> > Elvi
> >> >
> >>
> >>
> >> Dear Elvi,
> >>
> >> Thank you for your email.
> >>
> >> Unfortunately I`m only a librarian not a programmer, so my knowledge is
> >> very limited regarding this:(
> >>
> >> I did not thought about links with question marks... Might Dspace
> contain
> >> this kind of links?
> >> Anyway, our default interface is JSPUI for now...
> >>
> >> I tried a couple of times to ask the same question as you on the list,
> but
> >> noone really give any solution.
> >>
> >> I hope you can find a good solution for this.
> >>
> >> Have a nice day!
> >> B. Robert
> >>
> >
>
>
>
> --
> 鈴木敬二@江別市
>
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-07 Thread SUZUKI Keiji
Hi Elvi,

The first patch in the i18nBasicsForXmuli.patch of DS-842
is for  dspace-xmlui/dspace-xmlui-api/src/main/java/
org/dspace/app/xmlui/aspect/artifactbrowser/Navigation.java

>From DSpace1.7.0, ArtifactBrowser is deprecated and ViewArtifacts
is used instead. Maybe you have to apply this patch to
dspace-xmlui/dspace-xmlui-api/src/main/java/
org/dspace/app/xmlui/aspect/viewArtifacts/Navigation.java

Keiji Suzuki
Ebetsu, Japan

2011/12/7 Nemiz, Elvi S. :
> Hello Dspace users,
>
> The language switch is working in jspui by the way. I don't know why it is
> not working in xmlui.
>
> Thanks and regards,
> Elvi
>
> 2011/12/7 
>>
>> > Dear Robert,
>> >
>> > After applying the patches found in
>> > https://jira.duraspace.org/browse/DS-842,
>> > I think the supposedly language selector is not showing up because there
>> > is
>> > no  even though I
>> > have
>> > added de, ja in webui.supported.locales and xmlui.supported.locales in
>> > dspace.cfg. I don't know what causes this and maybe the language
>> > selector
>> > is not showing because of this test in page-structure.xsl:
>> > 
>> > > >
>> > test="count(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale'])
>> > > 1">
>> >
>> > I also tried to viewed your raw DRI of your repository by inserting
>> > /DRI/
>> > after xmlui and your repository don't have supportedLocale either. I
>> > really
>> > appreciate your suggestion of implementing links and appending
>> > ?local-attribute=[language] but this won't work if the url string has ?.
>> >
>> > Thank you for your help and hope someone can take a view on this.
>> >
>> > Regards,
>> > Elvi
>> >
>>
>>
>> Dear Elvi,
>>
>> Thank you for your email.
>>
>> Unfortunately I`m only a librarian not a programmer, so my knowledge is
>> very limited regarding this:(
>>
>> I did not thought about links with question marks... Might Dspace contain
>> this kind of links?
>> Anyway, our default interface is JSPUI for now...
>>
>> I tried a couple of times to ask the same question as you on the list, but
>> noone really give any solution.
>>
>> I hope you can find a good solution for this.
>>
>> Have a nice day!
>> B. Robert
>>
>



-- 
鈴木敬二@江別市

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-06 Thread Nemiz, Elvi S.
Hello Dspace users,

The language switch is working in jspui by the way. I don't know why it is
not working in xmlui.

Thanks and regards,
Elvi

2011/12/7 

> > Dear Robert,
> >
> > After applying the patches found in
> > https://jira.duraspace.org/browse/DS-842,
> > I think the supposedly language selector is not showing up because there
> > is
> > no  even though I
> > have
> > added de, ja in webui.supported.locales and xmlui.supported.locales in
> > dspace.cfg. I don't know what causes this and maybe the language selector
> > is not showing because of this test in page-structure.xsl:
> > 
> >  >
> test="count(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale'])
> > > 1">
> >
> > I also tried to viewed your raw DRI of your repository by inserting /DRI/
> > after xmlui and your repository don't have supportedLocale either. I
> > really
> > appreciate your suggestion of implementing links and appending
> > ?local-attribute=[language] but this won't work if the url string has ?.
> >
> > Thank you for your help and hope someone can take a view on this.
> >
> > Regards,
> > Elvi
> >
>
>
> Dear Elvi,
>
> Thank you for your email.
>
> Unfortunately I`m only a librarian not a programmer, so my knowledge is
> very limited regarding this:(
>
> I did not thought about links with question marks... Might Dspace contain
> this kind of links?
> Anyway, our default interface is JSPUI for now...
>
> I tried a couple of times to ask the same question as you on the list, but
> noone really give any solution.
>
> I hope you can find a good solution for this.
>
> Have a nice day!
> B. Robert
>
>
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-06 Thread Nemiz, Elvi S.
Dear Robert,

After applying the patches found in https://jira.duraspace.org/browse/DS-842,
I think the supposedly language selector is not showing up because there is
no  even though I have
added de, ja in webui.supported.locales and xmlui.supported.locales in
dspace.cfg. I don't know what causes this and maybe the language selector
is not showing because of this test in page-structure.xsl:



I also tried to viewed your raw DRI of your repository by inserting /DRI/
after xmlui and your repository don't have supportedLocale either. I really
appreciate your suggestion of implementing links and appending
?local-attribute=[language] but this won't work if the url string has ?.

Thank you for your help and hope someone can take a view on this.

Regards,
Elvi


2011/12/6 

> > Dear Dr. Andrea,
> >
> > After reading https://jira.duraspace.org/browse/DS-842, I tried to apply
> > the patches and I can't make it work. I am hoping and would like to ask
> if
> > you have successfully resolved adding locale selector and how? Keiji
> > Suzuki
> > from Japan have successfully implemented these
> > (http://zuki-ebetsu.jp/xmlui/)
> > and I also contacted him for some info. Hoping for a positive response
> and
> > thanks in advance.
> >
> > Sincerely,
> > Elvi S. Nemiz
> > Information Assistant
> > Library and Data Bank Services Section
> > Training and Information Division
> > SEAFDEC Aquaculture Department
> > Tigbauan, Iloilo
> > Philippines
> >
> 
>
>
>
> Dear Mr. Nezmiz,
>
> although we use the the JSPUI, I tried to implement this patch to the
> XMLUI, and I think it was successful.
> I send you the steps I followed (originally written by mr.helix84), maybe
> it will help you.
>
> Its very simple and I hope it will work for you too:
> 1. put the i18nBasicsForXmlui.patch in the [dspace-source] directory
> 2. navigate there and run: "patch -p0 < i18nBasicsForXmlui.patch"
> 3. rebuild (mvn) and update (ant update) the installation
>
> I could not make the mirage patch work, so I simply implemented some links
> with the endings specific for the language I would like to use. Ex. for
> German : ...?locale-attribute=de
> Probably it is not the best way to do this, but it works :)
>
> You can see our DSpace installation here:
> http://dspace.bcucluj.ro/xmlui
> Please note that this is NOT our main interface, I just tried some things
> here, like the language selection or Discovery, and we still have some
> errors in the HTML code.
>
> Greetings from Romania,
> Bodnar Robert
> librarian
>
>


-- 
Elvi S. Nemiz
Information Assistant
Library and Data Bank Services Section
Training and Information Division
SEAFDEC Aquaculture Department
Tigbauan, Iloilo
Philippines

Access and download SEAFDEC/AQD publications for FREE

http://repository.seafdec.org.ph

[SEAFDEC/AQD Institutional Repository (SAIR)]

- the official digital repository of scholarly and research information of
the department



Search our library collection

http://opac.seafdec.org.ph/wx

[SEAFDEC/AQD Library Online Public Access Catalog]



Questions? Ask a Librarian!

Email:   libr...@seafdec.org.ph | seafdecaqdlibr...@yahoo.com |
seafdecaqdlibr...@gmail.com

Chat:[Google Talk] seafdecaqdlibrary |
libr...@seafdec.org.ph

[Yahoo Messenger]seafdecaqdlibrary

Call:  63 33 5119170, 63 33 5119171 local 409 and 413

Visit: Library, SEAFDEC Aquaculture Department, Tigbauan,
Iloilo, Philippines



Like us on Facebook
facebook.com/seafdecaqdlib
Follow us on Twitter:
twitter.com/seafdecaqdlib
Follow us on Google +:   gplus.to/seafdecaqdlib
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Language switch for xmlui and some basic i18n stuff

2011-12-05 Thread Nemiz, Elvi S.
Dear Dr. Andrea,

After reading https://jira.duraspace.org/browse/DS-842, I tried to apply
the patches and I can't make it work. I am hoping and would like to ask if
you have successfully resolved adding locale selector and how? Keiji Suzuki
from Japan have successfully implemented these (http://zuki-ebetsu.jp/xmlui/)
and I also contacted him for some info. Hoping for a positive response and
thanks in advance.

Sincerely,
Elvi S. Nemiz
Information Assistant
Library and Data Bank Services Section
Training and Information Division
SEAFDEC Aquaculture Department
Tigbauan, Iloilo
Philippines
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech