[Chandler-dev] Branding (as in how to do it in code), i18n/l10n

Philippe Bossut pbossut at osafoundation.org
Wed May 31 13:07:57 PDT 2006


Hmm... That made me think: I'm currently reworking the Splash Screen 
code to make it localizable (Bug 5618) but, if the translation service 
is not available during start up (in particular, the repository is not 
open yet when the splash screen displays) this could prove to be an 
exercise in futility.

It looks like the Splash Screen code should fetch its strings from a 
"config" file, branding or not.

Is that what you recommend Brian?

Cheers,
- Philippe

Brian Kirsch wrote:
>>> You should be able to use the
>>> same brand in several different locales
>
> The i18n framework would not be the right place for branding strings. 
> The locale model and gettext do not support the use case you are 
> looking for.
>
> Off the top of my head I would recommend a config or startup file 
> which contains the branding strings. Something like the equivilent of 
> an Info.plist file on OS X.
>
>
> A third party could then edit that file replacing the string value 
> "Chandler" for example with "My Cool App" and replace the path to the 
> splash screen image with a custom path etc.
>
>
> --Brian
>
>
>
> Brian Kirsch -  Cosmo Developer / Chandler Internationalization Engineer
> Open Source Applications Foundation
> 543 Howard St. 5th Floor
> San Francisco, CA 94105
> http://www.osafoundation.org
>
>
>
> Heikki Toivonen wrote:
>
>> Yesterday we discussed the ab ability to brand Chandler when I realized
>> there is currently no easy way to do it.
>>
>> At a minimal level there should be a way to replace the vendor string,
>> the application name string, application icons/images and welcome note
>> text. If you wanted to get beyond that you would get into full
>> skinnability etc. but I don't think this is initially required.
>>
>> I was hoping we could utilize the i18n support we've built in (as far as
>> I remember Mozilla does this for browser name etc.), but unfortunately
>> these brand dependent strings are needed before we have opened the
>> repository. We have this same problem in displaying error dialogs to
>> users in case we have a problem opening the repository.
>>
>> So I was thinking that we need some i18n support during the bootstrap
>> process.
>>
>> There is a wrinkle, though, and that is that a brand is not a locale,
>> which is how translation normally happens. You should be able to use the
>> same brand in several different locales. Quick look at Python gettext
>> did not seem to indicate anything that would be directly usable. Anyone
>> know if it supports it or if there is something else we could use?
>>
>>  
>>
>> ------------------------------------------------------------------------
>>
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>>
>> Open Source Applications Foundation "chandler-dev" mailing list
>> http://lists.osafoundation.org/mailman/listinfo/chandler-dev
>>  
>>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev


More information about the chandler-dev mailing list