Hmm, got a bit confused about the output for 'file
GeoServerApplication_tr.properties':
GeoServerApplication_tr.properties: ISO-8859 English text, with very long
lines
Since the root-pom indicates that resosurces are UTF-8 (see
https://github.com/geoserver/geoserver/blob/master/src/pom.xml#L1362) I'm
wondering why the resources are ISO-8859 here
Wich is find on the other hand, because ISO 8859-11
<http://en.wikipedia.org/wiki/ISO/IEC_8859-1> is default encoding for java
it should work with current properties files checked in at github.
Is there a chance behavior of wicked has changed (and since wicket update
sprint) for resource handling?
For now it looks like resources are fine...
Another question to understand the problem: Why are the language settings
necessary on the server side? IMHO the language displayed within the
browser is provided by the browser itself - indpendently what is set on the
server. If the browser is configured that way to use Turkish the resources
are requested for Turkish and if not found the fallback shows English (read
from GeoServerApplication.properties).
Any ideas or feedback about this?
--
Frank
2017-02-08 9:39 GMT+01:00 Frank Gasdorf <[email protected]>:
> I really wonder why an other language breaks UI if running in a different
> Language than Turkish.
>
> In addtion the resources we are talking about are 2-3 years (
> https://github.com/geoserver/geoserver/blame/
> 678d3b43d88887ae7905bc5a9fc5c0330f6a1c65/src/web/core/src/main/resources/
> GeoServerApplication_tr.properties#L725) in the codebase and we never had
> problems like that. I'm wondering about the github viewer, it looks like
> the ' char works like a "multi-line" seperator that includes the following
> properties into the string, maybe its a problem and this char should be
> escaped
>
> [image: Inline-Bild 1]
>
> Another cause of problem could be that the resource isn't really UTF-8 and
> once if packaged its gets broken. Maybe the latest changes on the file
> itself changed file encoding?
>
> If I'll have some time a going to have a look at it...
>
> --
> Frank
>
> 2017-02-08 8:27 GMT+01:00 Andrea Aime <[email protected]>:
>
>> On Wed, Feb 8, 2017 at 4:41 AM, Jody Garnett <[email protected]>
>> wrote:
>>
>>> It seems a shame to toss out an entire translation.
>>>
>>
>> I fully agree, but at the same time, having a fully non functional UI is
>> worse, better have a working
>> one in english.
>>
>> So unless this gets solved before the 18th I'd still recommend to drop
>> the Turkish translation fully,
>> until a proper fix comes in.
>>
>> Cheers
>> Andrea
>>
>> --
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/it488V for more information.
>> ==
>>
>> Ing. Andrea Aime
>> @geowolf
>> Technical Lead
>>
>> GeoSolutions S.A.S.
>> Via di Montramito 3/A
>> 55054 Massarosa (LU)
>> phone: +39 0584 962313 <+39%200584%20962313>
>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>> mob: +39 339 8844549 <+39%20339%20884%204549>
>>
>> http://www.geo-solutions.it
>> http://twitter.com/geosolutions_it
>>
>> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>>
>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>> principi dettati dal D.Lgs. 196/2003.
>>
>>
>>
>> The information in this message and/or attachments, is intended solely
>> for the attention and use of the named addressee(s) and may be confidential
>> or proprietary in nature or covered by the provisions of privacy act
>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>> copying, distribution, or either dissemination, either whole or partial, is
>> strictly forbidden except previous formal approval of the named
>> addressee(s). If you are not the intended recipient, please contact
>> immediately the sender by telephone, fax or e-mail and delete the
>> information in this message that has been received in error. The sender
>> does not give any warranty or accept liability as the content, accuracy or
>> completeness of sent messages and accepts no responsibility for changes
>> made after they were sent or for other risks which arise as a result of
>> e-mail transmission, viruses, etc.
>>
>> -------------------------------------------------------
>>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel