Difference between revisions of "Silme"
Jump to navigation
Jump to search
Zbraniecki (talk | contribs) |
Zbraniecki (talk | contribs) |
||
Line 44: | Line 44: | ||
== Roadmap == | == Roadmap == | ||
− | For stage2: | + | For [[Projects:mozpyl10n:stage2]]: |
* Clean the entirely codebase and simplfy a lot of code pieces | * Clean the entirely codebase and simplfy a lot of code pieces |
Revision as of 23:44, 6 April 2008
Mozpyl10n is a library for L10n operations on Mozilla files written in Python (sic!).
The project currently has no name, and no stable anything, but it has a vision and some code already written.
You can download trunk from http://svn.braniecki.net/mozpyl10n or current stage from http://svn.braniecki.net/mozpyl10n/tags/stage1.
Usage
webtool
- install django
- pull mozpyl10n
- enter ./www
- prepare settings.py
- python manage.py syncdb
- python manage.py runserver
GUI tool
- install QT4
- install PyQT4
- pull mozpyl10n
- enter ./gui/qt4
- python l10nObject.py
Command line tools
- make sure you have python 2.5 and python-xml package
- pull mozpyl10n
- ./scripts/apply-diff.py en-US1.0 en-US1.5 pl1.0 pl1.5
- The script will diff en-US1.0 and en-US1.5 and apply the diff onto pl1.0 in pl1.5 directory
Known issues:
- Currently the feature set is extremely limited because I hardcoded many things to make sure that others do their job.
- It will not copy non dtd/properties files so you may want to limit the directory choice to the ones with dtd/properties files only.
- It will not overwrite the files in the pl1.5 directory
- It does not localize interactively but you can add it with not much work :)
- ./scripts/compare-versions.py en-US1.0 en-US1.5 --export xml > diff.xml
Roadmap
For Projects:mozpyl10n:stage2:
- Clean the entirely codebase and simplfy a lot of code pieces
- Make the code readable
- Implement in the nice way all the dirty hacks applied "in hurry"
- Rewrite other ./scripts to make sure the scripts that currently exist works
- Think what's next.
- Add support for L20n
- Support Python 3.0