[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cvs commit to oo-debian-files/bin by haggai



Repository: oo-debian-files/bin
who:        haggai
time:       Tue Dec  3 10:28:27 UTC 2002
Log Message:
   * correct handling of UI language
   * don't change Linguistic.xml after first startup(#168780)
   * TODO: provide better defaults on first startup
  
  This patch is from Lucien Saviot - sorry this one got a bit lost.
  
  Lucien did some analysis of the Language configuration, and made these
  observations about the current wrapper:
  
  ***************************
  To sumarize, the language used by the UI is:
    1/ the one in the ooLocale section if it is valid
    2/ LANG if the ooLocale section exists but is empty or invalid
    3/ english if everything else fails.
  ***************************
  
  I think that up to now, we never created valid ooLocale sections (except
  maybe for en-US in some rare cases!), that's why the LANG variable was used.
  
  I tend to prefer the <ooLocale cfg:type="string"/> tag, because it fails
  back to using LANG. This way, normal users should be happy and "power
  users" can use wathever language they prefer at tun-time with the
  LANG=??_?? openoffice trick.
  
  This patch implements the change, and removes the DefaultLocale tweaking, which
  can be set using the GUI anyway.
  

Files:
changed:    openoffice



Reply to: