Difference between revisions of "Talk:Pootle"

From SME Server
Jump to navigationJump to search
 
(151 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Preliminary ==
+
Managing SME translations with pootle have been moved to [[Translations]]
Once we have everything worked out how to interact with pootle and the formmagick stuff then I'll get something up on contribs.org that everyone can use.  It would be really nice if we could automate the extraction/import of files that need to be translated into pootle but first things first.  <small>— [[User:Slords|Slords]] ([[User talk:Slords|talk]] • [[Special:Contributions/Slords|contribs]]).</small> 18:23, 24 January 2008 (MST)
 
  
Test pootle site: http://www.unixlan.com.ar:8888
+
== Please use common packages and default package names (where possible) ==
  
== New tool - Formagick ==
+
A lot of the RPM's are in the DAG repository, no use of packaging them yourself or sharing them by copying them from the providing website and sharing them under a different name.  
I have found a good tool (getpo) for convert HTML to PO and revert. The best is you can customize to handle xml tags. It has use TIDY lib.
 
  
Before use, you can enable centosplus repo and install "tidy".
+
:What packages exactly? All packages are build from the sources code with the command "python setup.py bdist_rpm" (under python 2.4), and the packge itself create the RPM. The only packages I have changed the name is smeserver-pylucene, because it has a lot of problem to build at the same time of build rpm. Instead, I have only package the installed files. But in the next release of "Translate Toolkin", support for PyLucene 2.X and I have this package correctly builded.
  
Download getpo from http://i18n.linux.net.cn/download/gettext-autowork/getpo-031.tar.bz2
+
Please point users to download python-kid (replacing you kid RPM), python-lxml (replacing your lxml RPM), python-sqllite (replacing pysqlite RPM), python_Levenshtein and python-elementtree (which you called elementtree) which is also available in the DAG repository and AFAIK is already installed on SME Server by default.  
  
See these address:
+
:These packages don't run under python2.4.
http://mail.gnome.org/archives/gnome-i18n/2004-March/msg00070.html
 
http://tidy.sourceforge.net
 
http://www.w3.org/People/Raggett/tidy/
 
http://tidy.sourceforge.net/docs/quickref.html
 
  
I want to play with it to finally convert formmagick panels to PO correctly.
+
On top of that not everything is required to install Pootle, only requirements AFAIK could find on the Pootle site are listed [http://translate.sourceforge.net/wiki/pootle/installation#pre-requisite_software here] and because of the jToolkit requiring pythonabi-2.4 you have problems installing against pythonabi-2.3 which is installed on SME Server 7.3, perhaps you can find an older jToolkit, or recompile jToolkit from source and see if it will also work with pythonabi-2.3, this would drop the hack you have to do to make it work on SME Server 7.x.
  
--[[User:PicsOne|Normando Hall]] 08:21, 25 January 2008 (MST)
+
:Yes, requirements say python 2.3 is supported, but preferable 2.4. This page is out of date. If you search through pootle mailing lists you will found a lot of problems with python 2.3. Of couser I was preferable python 2.3, and make my own packages and test with python 2.3 but without sucess. I have a lot of headache with python 2.3 to try (only try) to run pootle. So, python 2.4 is mandatory. Also has a superb efficiently above 2.3 with some new functions that pootle use.
 +
:See http://translate.svn.sourceforge.net/viewvc/translate/src/trunk/Pootle/README?r1=6098&r2=6144
  
 +
:I am not finish this howto yet. Sorry for not warn about that. Now I put a template box with a warn.
 +
:Only when I have finished this howto, I will included in smecontribs.
  
== revision control using CVS/SVN ==
 
  
Today I had a quick look at the pootle pages and found a wiki as well, which has some valuable information like for instance revision control using CVS/SVN: http://translate.sourceforge.net/wiki/pootle/version_control - [[User:Cactus|Cactus]] 03:26, 25 January 2008 (MST)
+
- [[User:Cactus|Cactus]] 14:09, 19 February 2008 (MST)
 
 
 
 
== Remarks ==
 
 
 
Normando, I've updated sv and de, the versions in smeserver-locale had different names, ie the newer versions included .tmpl
 
I don't see how you delete the old versions, at the shell maybe ?
 
 
 
Is there a link to just show untranslated lines from large files ?
 
 
 
Now we have entered the data, it makes it clearer where there are missing translations, good work !
 
 
 
What it shows is
 
* there isn't a standard english base for translators to work off, french and german have the most complete set
 
* file names are inconsistent
 
 
 
[[User:Snoble|Snoble]] 05:05, 29 January 2008 (MST)
 
 
 
:Snoble, you are right, I have changed the names before upload because I think all languages has the same filename. Sorry. Anyway, you can download and rename, or better, upload the renamed downloaded filename, and then I can remove the old one.
 
 
 
:About the link for the untranslated words, your can access at http://www.unixlan.com.ar:8888/de/sme7bc/ then click at "Show Editing Functions" and finally at "Quick Translate" for each file or whole language. Also you can see the suggestions clicking at "Review Suggestions".
 
 
 
:My "dream" is to integrate Pootle with SVN and an automatic conerter between XML files and PO at contribs.org :)
 
 
 
:Another item is
 
:*charset utf8 or iso-8859-1
 
 
 
:--[[User:PicsOne|Normando Hall]] 12:05, 29 January 2008 (MST)
 

Latest revision as of 18:44, 10 March 2008

Managing SME translations with pootle have been moved to Translations

Please use common packages and default package names (where possible)

A lot of the RPM's are in the DAG repository, no use of packaging them yourself or sharing them by copying them from the providing website and sharing them under a different name.

What packages exactly? All packages are build from the sources code with the command "python setup.py bdist_rpm" (under python 2.4), and the packge itself create the RPM. The only packages I have changed the name is smeserver-pylucene, because it has a lot of problem to build at the same time of build rpm. Instead, I have only package the installed files. But in the next release of "Translate Toolkin", support for PyLucene 2.X and I have this package correctly builded.

Please point users to download python-kid (replacing you kid RPM), python-lxml (replacing your lxml RPM), python-sqllite (replacing pysqlite RPM), python_Levenshtein and python-elementtree (which you called elementtree) which is also available in the DAG repository and AFAIK is already installed on SME Server by default.

These packages don't run under python2.4.

On top of that not everything is required to install Pootle, only requirements AFAIK could find on the Pootle site are listed here and because of the jToolkit requiring pythonabi-2.4 you have problems installing against pythonabi-2.3 which is installed on SME Server 7.3, perhaps you can find an older jToolkit, or recompile jToolkit from source and see if it will also work with pythonabi-2.3, this would drop the hack you have to do to make it work on SME Server 7.x.

Yes, requirements say python 2.3 is supported, but preferable 2.4. This page is out of date. If you search through pootle mailing lists you will found a lot of problems with python 2.3. Of couser I was preferable python 2.3, and make my own packages and test with python 2.3 but without sucess. I have a lot of headache with python 2.3 to try (only try) to run pootle. So, python 2.4 is mandatory. Also has a superb efficiently above 2.3 with some new functions that pootle use.
See http://translate.svn.sourceforge.net/viewvc/translate/src/trunk/Pootle/README?r1=6098&r2=6144
I am not finish this howto yet. Sorry for not warn about that. Now I put a template box with a warn.
Only when I have finished this howto, I will included in smecontribs.


- Cactus 14:09, 19 February 2008 (MST)