O/H Amos Batto έγραψε: > Hi, > Our group runasimipi.org is setting up a Pootle Server > to translate in languages of the Andes at > 66.150.224.204:8080 (we will get a real domain name > eventually). > > I have a couple questions and please pardon me if I´m > asking something which is already explained in the > documentation somewhere. Just point me to the > appropiate page. > > First of all, let me describe some problems I > encountered setting up Pootle. The Description field > for Projects doesn´t accept characters with > diacritical marks. I discovered that you have to enter > the HTML code for those characters (like á) or > PootleServer won´t run. Then I discovered that none of > the PO files can have characters with diacritical > marks. After learning that, the pootle server actually > managed to start. > I checked that your webserver is emiting UTF-8 (wget -S
66.150.224.204:8080), so it is good. I am just speculating here; I believe the issue is with either (try in this order) a) the locale of the user when running PootleServer is not a Unicode one. Try "locale -a" to see the available locales. Try "locale" to see what locale the PootleServer is using. You locale should be ideally something like es_PE.UTF-8. b) the Python installation that defaults the encoding to ASCII, and Pootle may not catch those cases; Try to change the file /usr/lib/python2.5/site.py, and specifically from def setencoding(): """Set the string encoding used by the Unicode implementation. The default is 'ascii', but if you're willing to experiment, you can change this.""" encoding = "ascii" # Default value set by _PyUnicode_Init() to def setencoding(): """Set the string encoding used by the Unicode implementation. The default is 'ascii', but if you're willing to experiment, you can change this.""" encoding = "utf-8" # Default value set by _PyUnicode_Init() Out of curiosity, could you please give me a list of the Quechua characters that accept diacritical marks? I am interested to see the keyboard layout you have. Simos > Since I installed Pootle from source, I didn´t have > any helpful scripts to start and stop PootleServer. > When I tried stopping the server using Control + Z, it > left a socket open, which prevented the Pootle server > from restarting. Only stopping Pootle with Control + C > actually released the socket and stopped PootleServer > correctly. > > Now that Pootle is up and running, several of the > translators are resisting using it because they can´t > figure out how to search for untranslated and fuzzy PO > entries. Also, they can´t figure out how to continue a > search. The search always returns to the same PO > entry. Is there a way to filter for untranslated and > fuzzy PO entries and also is there a way to continue > searches? > > The second question is why is there an arbitrary limit > of 20 PO entries in Edit mode, whereas you can see 100 > entries in Read mode. Does the performance degrade so > badly with more PO objects in Edit Mode? > > I would like to set Pootle to show 100 PO entries at a > time by default for users who haven´t yet registered. > We want the public to check our translations and > discuss them in a separate electronic bulletin board, > but 10 fields at a time is too few. Where can I change > this default value in the code? > > Sincerely, > Amos Batto > www.runasimipi.org > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle