Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
New python L10n library - Silme
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Zbigniew Braniecki  
View profile  
 More options Jul 28 2008, 2:56 pm
Newsgroups: mozilla.dev.l10n
From: Zbigniew Braniecki <zbranie...@mozilla.com>
Date: Mon, 28 Jul 2008 11:56:53 -0700
Local: Mon, Jul 28 2008 2:56 pm
Subject: New python L10n library - Silme
Hi all

I know it's not the best moment to announce anything (people are on
their flights to Whistler, or jet lagged to death), but I can wait no
more (Pike is threating me).

During last half a year I've been working in my spare time on
localization library.

The purpose of this kind of library is to simplify development process
of L10n applications of any kind - from webapps, command line tools to
GUI apps.

The library is named Silme and currently supports storing and
manipulating API for l10n files, entities and directories.

The library unifies by a common API datasources, be it - disk space,
SVN, CVS, HG, or SQL like mySQL or SQLite.
Beside, library allows a user to build operations independent of the
storing format (PO, Properties, DTD, L20n, XLIFF, etc.).

The library is open source (tri-licensed) and I fully encourage you to
participation in its development as it's very far away from being ready.

Silme is not a webtool, or any other kind of ready to use tool - it only
contains pieces that can be used to simplify the work on the tools. You
can focus on the UI and features, and once you have to, say, get all
entities from file - you can use Silme API to load it in no time.

Despite of that, for testing purposes, and out of curiosity, I wrote
several small testing tools on top of the library. They're by no mean
complete, and the code may be ugly (it's for testing, right?), but it
may help you understand the code and the patterns that you can use.

While working on the API I tried to use all my experience with
localization and reproduce to maximum the way localizer acts, but just
automating the patterns that can be automated.

In result the library does do minimum to the file it operates on
(preserving the structure) and follows the patters localizers use (by
appending a new entity after some other entity instead of adding it at
the end).

The whole project is both, big and small at the same time. I've spent
several months experimenting with API to cover all potential usage
patterns and came to the point where I believe core classes are ready
and the library may be used to simplify many tasks. At the same time the
whole localization category is huge and mainly not touched by anyone
before (afaik). It means that many elements have never been solved and
I'm discovering solutions while working on the library. It requires many
more work to cover all cases for multiply projects in any language (like
higher-level entity parsing - plurals, declension, inner variables
etc.), but I believe that the skeleton is scalable, mostly frozen and
ready to be published and attract others to help me working on it.

I chose Python because it is the only language that is pretty modern,
clean, multi-platform, open source and may easily serve for
command-line, webtools and GUI tools.

You can read initial documentation and tutorial here:
http://wiki.braniecki.net/Silme

The API can be produced with doxygen (which I don't have right now)

The current sources may be viewed at http://svn.braniecki.net/wsvn/Silme

Currently there are several tools that works, including simple QT4 tool
and a webapp that may be used to work on single l10nPackage from file or
SVN repository.

Roadmap is here: http://wiki.braniecki.net/Silme:roadmap
As you can see the current plan is to go up in the abstraction stack to
add support for syntax of each entity and make it easy for apps to
display things like similar entities, or other translations of the same
entity and to add ability to parse entities (plurals, declension, inner
variables).

If you have any questions, concerns, or would like to join the effort,
please, feel free to respond here, email me or ping on IRC. I will be
more than happy to get support. :)

Greetings
Zbigniew Braniecki
--

Mozilla (http://www.mozilla.org)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
arjuna  
View profile  
 More options Jul 31 2008, 1:27 pm
Newsgroups: mozilla.dev.l10n
From: arjuna <arjunar...@googlemail.com>
Date: Thu, 31 Jul 2008 10:27:09 -0700 (PDT)
Local: Thurs, Jul 31 2008 1:27 pm
Subject: Re: New python L10n library - Silme
On Jul 28, 11:56 pm, Zbigniew Braniecki <zbranie...@mozilla.com>
wrote:

Very good news. When facing the firefox 2 to firefox 3 localization
update problem, I though I will write a  Python script at least to
merge lines containing new strings into the localization files. I will
explore your initiative soon.

Best regards
Arjun


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Kaiser  
View profile  
 More options Jul 31 2008, 6:23 pm
Newsgroups: mozilla.dev.l10n
From: Robert Kaiser <ka...@kairo.at>
Date: Fri, 01 Aug 2008 00:23:13 +0200
Local: Thurs, Jul 31 2008 6:23 pm
Subject: Re: New python L10n library - Silme

Zbigniew Braniecki wrote:
> If you have any questions, concerns, or would like to join the effort,
> please, feel free to respond here, email me or ping on IRC. I will be
> more than happy to get support. :)

Thanks for the demo you gave me here at the Summit. For localizers: this
is really really great stuff coming up here, finally there will be one
thing that can drive webtools and UI tools and scripts and unifies stuff
from dtd, properties, po, and some other file formats and export
localized files in a way that doesn't destroy how the files look!

Thanks gandalf for working on this!

Robert Kaiser


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google