capiscuas / pootle Goto Github PK
View Code? Open in Web Editor NEWThis project forked from translate/pootle
Patches for the Linguistic Team International
Home Page: http://wiki.linguisticteam.org
License: GNU General Public License v2.0
This project forked from translate/pootle
Patches for the Linguistic Team International
Home Page: http://wiki.linguisticteam.org
License: GNU General Public License v2.0
Running any pootle commands in shell produces an error similar to the one below.
$ python manage.py sync_stores
2014-03-06 08:39:29,305 INFO Change ID is zero, ignoring altogether.
2014-03-06 08:39:30,196 ERROR Failed to run sync_stores over /ro/activist_orientation_guide/'s files
'NoneType' object has no attribute 'user'
2014-03-06 08:39:40,040 ERROR Failed to run sync_stores over /zh_TW/venus_project_site/'s files
'NoneType' object has no attribute 'user'
Trying python26 in place of python yields a different error
$ python26 manage.py sync_stores
Traceback (most recent call last):
File "manage.py", line 23, in
from pootle import settings, syspath_override
File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/settings.py", line 22, in
execfile(os.path.abspath(f))
File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/settings/95-outro.conf", line 36, in
from pootle.i18n import override, gettext_live, gettext
File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/i18n/override.py", line 32, in
from translate.lang import data
ImportError: No module named translate.lang
I'm seeing numerous data on the Contributors page that is incorrect.
http://pootle.linguisticteam.org/about/contributors/
For example, it has me listed as a contributor for the Croatian TVP website project, but I am not listed in the Permissions page, nor do I show up in the drop-down box under "Project Members" or "Language Members". I also do not have any languages or projects selected in my Settings page.
Also, the Arabic Tutorial has an entry that reads as "any anonymous user" and another for "Rabia Gawish", although there is no one set up under its permissions page. This is not the only language Tutorial project that includes the 'anonymous user' entry, but it does not show up in all of them, even though Pootle is set to allow anonymous use/testing of this project across all languages. In addition, there are some other non-Tutorial projects that also include this 'anonymous' inclusion.
There are more discrepencies, so consider the above as merely a sampling.
This may be functioning 'as designed' if it is only showing the members who have actually contributed to the projects that are shown, regardless of whether or not they are currently set up within those projects.
When a person registers, can Pootle be set up to automatically provide them with View & Suggest for the translatable projects they select, but still send out the emails to the coordinators so they can make a connection with the new person?
The more I look into 'last login' dates, the more I'm seeing people who were only here once, just long enough to register and, most likely, try to get started. When it doesn't work, so many of them never come back.
Current build:
Pootle 2.5.0-beta1 is powered by Translate Toolkit 1.10.0-rc1
Unsure if an update is justified. What do you think, Ivan?
http://docs.translatehouse.org/projects/pootle/en/stable-2.5.1/releases/2.5.1-rc1.html
Suggestion/Request from Dario (Portuguese LangCoord) and repeated by others.
"Add space (near top of each page?) where pootle admin can add link to the original.
Ex: in http://pootle.linguisticteam.org/pt/venus_pr…y.po/translate/ (at the top? under the 'bread-crumbs') would be http://thevenusproject.com/pt/the-venus-project/essay
Particularly useful for webpages with very little text, where the text is referring to images or other components of the webpage not seen in pootle"
Can this be done without losing the ability when Pootle is later updated?
Pootle is the last remaining site to migrate/upgrade to the new server, along with your other sites if you still need them (subdownloader.net, etc.). Hit me up in Skype as soon as you can, please. :)
The Users tab is missing from the global areas for each language. It provided info for each member including username, email, reg date, last log in and what the person had selected, with each listing linked directly to the admin permissions page for that project.
Also included was a custom email function that is no longer needed since that is now standard in the News tab.
Would prefer that the tab be renamed to "Members" instead of "Users". ;)
Before it was just reading an static translators.admin.html file generated with the translators_report.py script called frequently with cron.
Should be generated dinamically (it takes like 2minutes to output) but it's only for admins so the use will be really rare.
Updating against Templates from within Pootle produces the following error:
(run from http://pootle.linguisticteam.org/projects/tzm_defined/admin.html)
Cannot assign None: "TranslationProject.language" does not allow null values.
Logging into Pootle used to send people directly to their Profile's main page, so they could click on the project they wish to work on. It is now redirecting to the front page of Pootle. Our tutorials show how to work with Pootle from the Profile pages, so this needs to be adjusted.
It only shows in the English translationprojects.
Request for the page below to be filtered by Language, followed by project.
http://pootle.linguisticteam.org/admin/extra/member_waiting_status_removal.html
The front page appears to be filtering the Languages section according to 'Last Activity', rather than by language name. The result is rather ugly, with the top section empty and all active teams showing up at the very bottom of the list.
Improve User Statistics with the dates of last login and contribution
Pootle's main page and most others are displaying the following:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
All members are shown two times - one time with their language name in English and a second time with their language name in their native language.
http://pootle.linguisticteam.org/admin/extra/member_waiting_status_approval.html
It's obvious that activity has occurred within many of these language teams (sometimes a good amount), but that activity is not appearing at all on the front-end for those languages. It's quite odd that it appears to be working for some, but not others.
Pootle's main page and most others are displaying the following:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
python2.6 manage.py update_stores --keep --project=tzm_defined
2014-05-09 20:37:24,042 INFO Change ID is zero, ignoring altogether
Any thoughts on what might cause this?
Just a head's up, since there is still much to do both for them and us before this becomes truly useful.
http://docs.translatehouse.org/projects/pootle/en/latest/specs/api.html
Do members receive any kind of auto-notification from Pootle when their permission requests are fulfilled? If not, it may be one of the most important customizations we can do (and share back with the Pootle developers).
When a coord is not very present (or not at all), Borislav or myself set up people who are waiting. But we don't have the time or means to personally write to them or to try to help integrate them with other members of their language. A simple boilerplate email letting them know that they can now play in Pootle and that they should use the forum for questions and collaboration would help tremendously to bring together all of those who prefer to not work alone.
I am receiving emails from Pootle telling me that I haven't selected any languages of projects. Can this be turned off for admins again? ;)
When trying to add an user Pandalaft
http://pootle.linguisticteam.org/es/designing_the_future/admin_permissions.html
pootle fails and outputs the following error in the apache.log
[Sat Feb 02 13:25:11 2013] [error] Traceback (most recent call last):
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
[Sat Feb 02 13:25:11 2013] [error] response = callback(request, _callback_args, *_callback_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/language/view.py", line 59, in decorated_f
[Sat Feb 02 13:25:11 2013] [error] return f(request, translation_project, _args, *_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/language/view.py", line 75, in decorated_f
[Sat Feb 02 13:25:11 2013] [error] return f(request, translation_project, _args, *_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/util.py", line 56, in decorated_f
[Sat Feb 02 13:25:11 2013] [error] return f(request, path_obj, _args, *_kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_translationproject/views.py", line 82, in admin_permissions
[Sat Feb 02 13:25:11 2013] [error] template_vars)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/permissions.py", line 112, in admin_permissions
[Sat Feb 02 13:25:11 2013] [error] can_delete=True, form=PermissionSetForm)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/util.py", line 223, in edit
[Sat Feb 02 13:25:11 2013] [error] queryset=queryset, **kwargs)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/src/pootle/apps/pootle_app/views/admin/util.py", line 201, in process_modelformset
[Sat Feb 02 13:25:11 2013] [error] formset = formset_class(request.POST, queryset=objects.object_list)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/models.py", line 424, in init
[Sat Feb 02 13:25:11 2013] [error] super(BaseModelFormSet, self).init(**defaults)
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/formsets.py", line 50, in init
[Sat Feb 02 13:25:11 2013] [error] self._construct_forms()
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/formsets.py", line 115, in _construct_forms
[Sat Feb 02 13:25:11 2013] [error] self.forms.append(self._construct_form(i))
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/forms/models.py", line 451, in _construct_form
[Sat Feb 02 13:25:11 2013] [error] kwargs['instance'] = self.get_queryset()[i]
[Sat Feb 02 13:25:11 2013] [error] File "/var/www/vhosts/pootle.linguisticteam.org/env/lib/python2.6/site-packages/django/db/models/query.py", line 190, in getitem
[Sat Feb 02 13:25:11 2013] [error] return self._result_cache[k]
[Sat Feb 02 13:25:11 2013] [error] IndexError: list index out of range
[Sat Feb 02 13:25:11 2013] [error]
Missing cron lines.
2-59/10 * * * * cd /home/pootle/pootle2/Pootle/; python2.6 create_translators_html.py >> /home/pootle/logs/translators_html.log 2>&1
59 15 * * * cd /home/pootle/pootle2/Pootle/; python2.6 create_translators_html.py email >> /home/pootle/logs/translators_html_email_coords.log 2>&1
20 20 * * 5 sh /home/pootle/SCRIPTS/send-mail-alerts-inactive-users.sh >> /home/pootle/logs/send-mail-inactive.log 2>&1
As requested by Enico (Hungarian LC):
"I wonder whether it would require a great effort for Pootle to also show the total wordcount (source words) of a file, not just the "needs translation" wordcount"
"I see the total global wordcount appears on project level, but it would be nice to have it broken down on individual files. the information is obviously available somewhere (as the "need translation" wordcount at the start of the project)"
It appears that the Pootle-supplied Contributors page (../about/contributors/) and the custom Member Status page (../about/memberstatus/) are not being updated.
I realize that our strings are not being translated depending on the selected User Interface Language option, I believe 2.5 has changed the way the strings are being pulled (no internal project anymore, but only locale/*.po )
It seems the Pootle Devs have not completely gone on vacation.
There are several newer commits, including at least one related to pootlecache, which I wonder how it relates to the updating issue we had
https://github.com/translate/pootle
https://github.com/translate/pootle/blob/master/pootle/settings/90-dev-local.conf.sample
Since there is no search function in users, list all the users in one page
http://pootle.linguisticteam.org/about/contributors/
/home/pootle/pootle2/Pootle/html/translators.html
I set up Aram (smartalgorithm) for Armenian TVP, but Pootle did not then provide him with the Suggest/Submit button, making it impossible for him to translate. He shared his desktop with me via Skype and I took him through clearing browser cache (Google Chrome) and removing all Pootle cookies, but that was of no help. We stopped maybe a half hour after I had set him up and he has since gone to sleep for the night. As a result, I have no way of knowing if this is a delay or a more permanent bug.
He registered a while ago, so it's not a case of Pootle still processing his registration.
At the moment this report was created,
http://pootle.linguisticteam.org/about/memberstatus/ //Shows that he is still waiting for permissions setup
http://pootle.linguisticteam.org/hy/venus_project_site/admin_permissions.html //Shows that he is already set up
http://pootle.linguisticteam.org/accounts/smartalgorithm/ //Also shows that he is already set up
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.