Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-2008, 05:04 PM
ljm ljm is offline
Project Contributor
 
Posts: 81
Default SOAP and locale

Hi, I'm wondering how to get at non- en_US locale data via SOAP.

For example, I'd like to get at the french equivalent of "Emailed Contacts" - "Personnes contactées par mail".

Here's what I tried:
1. on the server:
zmprov ma user@example.com zimbraPrefLocale fr_FR
2. on the client via soap:
<SyncRequest>
... but the response contains:
<folder id="13" name="Emailed Contacts" ... </folder>

Is it possible to get "Personnes contactées par mail" via SOAP?
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 07:57 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

the system folders will always be returned in en-us.
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 08:00 PM
ljm ljm is offline
Project Contributor
 
Posts: 81
Default

How would a soap client go about getting the translation?
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 08:09 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

the ZWC localization files are under ZimbraWebClient\WebRoot\messages
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #5 (permalink)  
Old 02-16-2008, 08:50 PM
ljm ljm is offline
Project Contributor
 
Posts: 81
Default

Is there a soap request to get at these files?

I have a soap client and I would like to know how to go about asking the Zimbra server what the translation for "Emailed Contacts" is in the user's locale.
Reply With Quote
  #6 (permalink)  
Old 02-16-2008, 09:36 PM
sam sam is offline
Zimbra Employee
 
Posts: 821
Default

those are source files available in our repository which identify the mappings. you'll have to map the english name to the locale specific name on the client side of your app. search the forums/wiki for how to get at the public p4 cache.
__________________
Sam Khavari

:: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::
Reply With Quote
  #7 (permalink)  
Old 02-17-2008, 10:21 AM
ljm ljm is offline
Project Contributor
 
Posts: 81
Default

Gotcha, thanks.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.