Hi Dominique On 2012-02-16, at 6:40 AM, Dominique wrote:
> In my case, the errors occur for Mail, Calendar and Contacts, but under the > following setups: > > PC Win7 English / Sogo Web UI Spanish (Spain) : No errors > PC Win7 Spanish / Sogo Web UI Spanish (Spain) : errors > PC Win7 Spanish / Sogo Web default language - no manual election : errors > > The errors are repeated several hundreds of times... but are all of the same > structure, for POST, GET, PROFIND commands. > Here is another sample: > > Feb 16 12:35:13 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > 2012-02-16 12:35:13.822 sogod[17993] WARNING(-[NSNull(misc) count]): called > NSNull -count (returns 0) !!! > localhost - - [16/Feb/2012:12:35:13 GMT] "GET /SOGo/so/ HTTP/1.1" 200 3716/0 > 0.062 11256 66% 0 > Feb 16 12:35:22 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > 2012-02-16 12:35:22.060 sogod[17993] WARNING(-[NSNull(misc) count]): called > NSNull -count (returns 0) !!! > localhost - - [16/Feb/2012:12:35:22 GMT] "GET /SOGo/so/ HTTP/1.1" 200 3716/0 > 0.010 11256 66% 0 > Feb 16 12:35:37 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > Feb 16 12:35:37 sogod [17993]: SOGoRootPage successful login for user > 'myuser' - expire = -1 grace = -1 > localhost - - [16/Feb/2012:12:35:37 GMT] "POST /SOGo/connect HTTP/1.1" 200 > 27/65 0.007 - - 0 > Feb 16 12:35:37 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > localhost - - [16/Feb/2012:12:35:37 GMT] "GET /SOGo/so/myuser HTTP/1.1" 302 > 0/0 0.002 - - 0 > Feb 16 12:35:37 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > localhost - - [16/Feb/2012:12:35:37 GMT] "GET /SOGo/so/myuser/view HTTP/1.1" > 302 0/0 0.003 - - 0 > Feb 16 12:35:38 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > localhost - - [16/Feb/2012:12:35:38 GMT] "GET /SOGo/so/myuser/Mail HTTP/1.1" > 302 0/0 0.002 - - 0 > Feb 16 12:35:38 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > Feb 16 12:35:38 sogod [17993]: <0x0x7f640e732580[NSString]> Got invalid > multibyte sequence. ToEncode: UCS-2LE FromEncode: UTF-8. > Feb 16 12:35:38 sogod [17993]: <0x0x7f640e732580[NSString]> Got invalid > multibyte sequence. ToEncode: UCS-2LE FromEncode: UTF-8. > Feb 16 12:35:38 sogod [17993]: <0x0x7f640e732580[NSString]> Got invalid > multibyte sequence. ToEncode: UCS-2LE FromEncode: UTF-8. > localhost - - [16/Feb/2012:12:35:58 GMT] "GET /SOGo/so/myuser/Calendar > HTTP/1.1" 302 0/0 0.004 - - 0 > Feb 16 12:35:58 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > localhost - - [16/Feb/2012:12:35:58 GMT] "GET /SOGo/so/myuser/Calendar/view > HTTP/1.1" 200 12789/0 0.024 45181 71% 0 > Feb 16 12:35:59 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > localhost - - [16/Feb/2012:12:35:59 GMT] "POST > /SOGo/so/myuser/Calendar/personal/canAccessContent HTTP/1.1" 204 0/0 0.004 - > - 0 > Feb 16 12:35:59 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > localhost - - [16/Feb/2012:12:35:59 GMT] "POST > /SOGo/so/myuser/Calendar/solipym_personal/canAccessContent HTTP/1.1" 204 0/0 > 0.003 - - 0 > Feb 16 12:35:59 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > localhost - - [16/Feb/2012:12:35:59 GMT] "POST > /SOGo/so/myuser/Calendar/eventslist?asc=true&sort=start&day=&filterpopup=view_today > HTTP/1.1" 200 2/0 0.017 - - 0 > Feb 16 12:35:59 sogod [17993]: [ERROR] [we-rm] did not find locale for > language: Spanish > > However, the user does not have any problems with the UI. You could change the language mapping in Languages.plist (probably somewhere under /usr/lib64/GNUstep/Libraries/Resources/NGObjWeb/), replacing : "es" = "Spanish"; by "es" = "SpanishSpain"; or "es" = "SpanishArgentina"; I'll make the change in SOPE to fallback to SpanishSpain by default when the browser accepts "es". Francis -- [email protected] :: +1.514.755.3640 :: http://www.inverse.ca Inverse :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org) -- [email protected] https://inverse.ca/sogo/lists
