[Baypiggies] What are you doing with Python?

Andrew Akira Toulouse andrew at atoulou.se
Fri May 28 19:32:12 CEST 2010


I wrote scripts to search for ##LocalizedString in code (originally,
NSLocalizedString, but we replaced it with ##LocalizedString and
##LocalizedPluralString), turn it into .po files (with plural forms
support), then transform translated .po files to Localizable.strings (what
XCode likes to use for localization). I made use of polib, regexes,
generators/generator expressions, and StringIO for some pretty concise code
(yay).

The lack of pervasive Unicode in 2.x is very, very painful, but the library
situation in 3.x is an unknown and it's not installed by default on most
systems, it seems. :(

--Andy

P.S. ## is substituted the two-letter prefix for my company. Not trying to
keep it secret, but not interested in broadcasting it, either.

On Fri, May 28, 2010 at 5:15 AM, Aahz <aahz at pythoncraft.com> wrote:

> On Thu, May 27, 2010, Justin A Ryan wrote:
> >
> > What in the world are all of you doing with Python?  Google, even, sure
> > hasn't even said much for nearly a decade on the subject.
>
> I'm working for Egnyte, writing a client that does bidirectional
> synchronization between a local hard disk and cloud storage.
> Interestingly enough, our main competitor also uses Python (Dropbox).
>
> I'll be doing a presentation about some of my work at OSCON.
> --
> Aahz (aahz at pythoncraft.com)           <*>
> http://www.pythoncraft.com/
>
> "If you don't know what your program is supposed to do, you'd better not
> start writing it."  --Dijkstra
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20100528/ae80851d/attachment.html>


More information about the Baypiggies mailing list