Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-05 Thread Evelthon Prodromou
Dear Helix,

Spot on! I completely forgot that step. Too much time on XMLUI :)

Many thanks.

On Monday, October 3, 2016 at 5:39:01 PM UTC+3, helix84 wrote:
>
> I see the problem now :) The directory is correct.
>
> But Messages_el.properties.UTF-8 [1] is the UTF-8 version for editing by a 
> human. DSpace (Java) requires that file to be converted to ASCII with 
> escape codes (using native2ascii) and the file name should be 
> Messages_el.properties [2].
>
> [1] 
> https://github.com/DSpace/dspace-api-lang/blob/master/src/main/native2ascii/Messages_el.properties.UTF-8
> [2] 
> https://github.com/DSpace/dspace-api-lang/blob/master/src/main/resources/Messages_el.properties
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread helix84
I see the problem now :) The directory is correct.

But Messages_el.properties.UTF-8 [1] is the UTF-8 version for editing by a
human. DSpace (Java) requires that file to be converted to ASCII with
escape codes (using native2ascii) and the file name should be
Messages_el.properties [2].

[1] https://github.com/DSpace/dspace-api-lang/blob/master/src/
main/native2ascii/Messages_el.properties.UTF-8
[2] https://github.com/DSpace/dspace-api-lang/blob/master/sr
c/main/resources/Messages_el.properties


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread Evelthon Prodromou
These were my active OPTS...

That's why I am puzzled.

Helix, just to confirm, I place Messages_el.properties.UTF-8 in 
[dspace-src]/dspace-api/src/main/resources 
.
Should it be renamed to Messages_el.properties or not ?


On Monday, October 3, 2016 at 5:03:28 PM UTC+3, helix84 wrote:
>
> On Mon, Oct 3, 2016 at 3:57 PM, Evelthon Prodromou  > wrote:
>
>> If this was the problem, wouldn't it affect the XMLUI as well?
>>
>  
> No, XMLUI uses a different format for its message catalogue.
>
>
> On Mon, Oct 3, 2016 at 4:00 PM, Evelthon Prodromou  > wrote:
>
>> These are my JAVA and CATALINA OPTS:
>>
>> JAVA_OPTS=-Djava.awt.headless=true -Xmx4096m -Xms4096m 
>> -XX:MaxPermSize=2048m -Dfile.encoding=UTF-8 -XX:MaxHeapFreeRatio=70 
>> -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled 
>> -XX:+CMSClassUnloadingEnabled
>> CATALINA_OPTS=-Djava.awt.headless=true -Xms3072m -Xmx3072m 
>> -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8
>>
>
> If you changed JAVA_OPTS, I assume you restarted your servlet container.
>
> If adding that option didn't help, I don't have other ideas at the moment.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread Evelthon Prodromou
These are my JAVA and CATALINA OPTS:

JAVA_OPTS=-Djava.awt.headless=true -Xmx4096m -Xms4096m 
-XX:MaxPermSize=2048m -Dfile.encoding=UTF-8 -XX:MaxHeapFreeRatio=70 
-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled 
-XX:+CMSClassUnloadingEnabled
CATALINA_OPTS=-Djava.awt.headless=true -Xms3072m -Xmx3072m 
-XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8


On Monday, October 3, 2016 at 4:57:41 PM UTC+3, Evelthon Prodromou wrote:
>
> If this was the problem, wouldn't it affect the XMLUI as well?
>
> On Monday, October 3, 2016 at 4:39:16 PM UTC+3, helix84 wrote:
>>
>> Are you running with -Dfile.encoding=UTF-8 in JAVA_OPTS, as recommended 
>> in the DSpace installation docs? [1]
>>
>> [1] 
>> https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-ServletEngine(ApacheTomcat7orlater,Jetty,CauchoResinorequivalent)
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread helix84
Are you running with -Dfile.encoding=UTF-8 in JAVA_OPTS, as recommended in
the DSpace installation docs? [1]

[1]
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-ServletEngine(ApacheTomcat7orlater,Jetty,CauchoResinorequivalent)


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
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.


[dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread Evelthon Prodromou


Hello,


I am trying to enable greek on JSPUI (dspace-CRIS). Steps done:

   - Copied Messages_el.properties.UTF-8 
   

 
   from jspui repo on github in 
   - [dspace-src]/dspace-api/src/main/resources and renamed it to 
   Messages_el.properties
   - mvn package
   - ant update from the installer folder
   - added el locale in dspace.cfg (webui.supported.locales)


server.xml has the URIEncoding="UTF-8" option is set.


If I switch to the XMLUI on the same installation, greek show up just fine.


Any suggestion on what I am missing here?

Thank you

-- 
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.