Changes

Jump to navigation Jump to search
607 bytes removed ,  12:50, 6 February 2008
refactor
Line 2: Line 2:  
*http://bugs.contribs.org/show_bug.cgi?id=3782  
 
*http://bugs.contribs.org/show_bug.cgi?id=3782  
 
The Goal is to manage SME translations with Pootle hosted on contribs.org. The current method excellent as it is makes it hard to find missing strings and to easily replace them.
 
The Goal is to manage SME translations with Pootle hosted on contribs.org. The current method excellent as it is makes it hard to find missing strings and to easily replace them.
 +
 +
Test pootle site: http://www.unixlan.com.ar:8888
    
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.   
 
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.   
    
[[User:Slords|Slords]] 18:23, 24 January 2008 (MST)
 
[[User:Slords|Slords]] 18:23, 24 January 2008 (MST)
  −
== Pootle Usage ==
  −
  −
Test pootle site: http://www.unixlan.com.ar:8888
  −
  −
===untranslated words===
  −
click "Show Editing Functions" and finally at "Quick Translate" for each file or whole language.
  −
  −
Also you can see the suggestions clicking at "Review Suggestions".
  −
  −
===checks===
  −
click "show checks" to see a list of syntax errors
  −
  −
acronyms  6 strings (2%) failed
  −
brackets 17 strings (6%) failed
  −
doublequoting 4 strings (1%) failed
  −
doublespacing 1 string (0%) failed
  −
endpunc 11 strings (3%) failed
  −
endwhitespace 4 strings (1%) failed
  −
numbers 2 strings (0%) failed
  −
puncspacing 2 strings (0%) failed
  −
sentencecount 2 strings (0%) failed
  −
simplecaps 16 strings (5%) failed
  −
startcaps 6 strings (2%) failed
  −
unchanged 7 strings (2%) failed
  −
untranslated 53 strings (19%) failed
  −
  −
click on one of the links offered and fix them
  −
  −
See http://translate.sourceforge.net/wiki/guide/pofilter_examples and http://translate.sourceforge.net/wiki/guide/translation/commonerrors
  −
  −
===Merging new strings===
  −
Add, remove or modify strings in the template/*.pot file then click 'update from template'.
  −
  −
:New strings are added
  −
:modified strings use existing data and made fuzzy (i think)
  −
:deleted strings are moved to the bottom of the file and commented out with #~
      
== Formagick ==
 
== Formagick ==
Line 48: Line 13:     
I have packaged for a better installation. You can download from  
 
I have packaged for a better installation. You can download from  
http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/rpm/gnome-doc-utils-0.12.0-1.noarch.rpm
+
http://mirror.contribs.org/smeserver/contribs/nhall/sme7/contribs/pootle/rpm/gnome-doc-utils-0.12.0-1.noarch.rpm
 
  −
Before try, you must edit a few lines. [ we now use /usr/share/xml2po/smetrans.py ]
  −
 
  −
/usr/share/xml2po/empty.py
  −
Line 27 from "return ['base', 'A', 'a', 'i', 'I', 'B', 'b' ,'P' ,'p' ,'h2' ,'H2', 'div', 'DIV', 'font']
  −
Line 31 from "return []" to "return ['trans']"
  −
Line 35 leave "return []"
  −
Line 39 from "return []" to "return ['trans']" // or ['lang'] testing
      
===Create .po and export xml files===
 
===Create .po and export xml files===
we have written a few shell scripts, which are automating checking, we'll release later for contribs authors
+
we have written a few shell scripts and added a translation file, which are automating checking, we'll release later for contribs authors
    
===bugs===
 
===bugs===
Line 134: Line 91:  
then diff against cvs, make patch, check and apply
 
then diff against cvs, make patch, check and apply
   −
== Pootle issues==
+
== Pootle Usage ==
=== UTF-8 ===
+
 
Bug 'Use UTF-8 for console .po files'
+
Test pootle site: http://www.unixlan.com.ar:8888
http://bugs.contribs.org/show_bug.cgi?id=3858
+
 
:: SME Translation files currently use iso-8859-1
+
===untranslated words===
:: we currently convert any file in pootle to UTF-8
+
click "Show Editing Functions" and finally at "Quick Translate" for each file or whole language.  
 +
 
 +
Also you can see the suggestions clicking at "Review Suggestions".
 +
 
 +
===checks===
 +
click "show checks" to see a list of syntax errors
 +
 
 +
acronyms  6 strings (2%) failed
 +
brackets 17 strings (6%) failed
 +
doublequoting 4 strings (1%) failed
 +
doublespacing 1 string (0%) failed
 +
endpunc 11 strings (3%) failed
 +
endwhitespace 4 strings (1%) failed
 +
numbers 2 strings (0%) failed
 +
puncspacing 2 strings (0%) failed
 +
sentencecount 2 strings (0%) failed
 +
simplecaps 16 strings (5%) failed
 +
startcaps 6 strings (2%) failed
 +
unchanged 7 strings (2%) failed
 +
untranslated 53 strings (19%) failed
 +
 
 +
click on one of the links offered and fix them
   −
WONTFIX we can convert back when returning to SME in a script so there is not need to make a change
+
See http://translate.sourceforge.net/wiki/guide/pofilter_examples and http://translate.sourceforge.net/wiki/guide/translation/commonerrors
 +
 
 +
===Merging new strings===
 +
Add, remove or modify strings in the template/*.pot file then click 'update from template'.
 +
 
 +
:New strings are added
 +
:modified strings use existing data and made fuzzy (i think)
 +
:deleted strings are moved to the bottom of the file and commented out with #~

Navigation menu