Service/translate: Difference between revisions

Chimosky (talk | contribs)
No edit summary
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Obsolete | Replaced by [[ Service/Weblate]]}}
== Hostnames ==
== Hostnames ==


* http://translate.sugarlabs.org/
* http://translate.sugarlabs.org/
Additional urls:
* http://translate.sugarlabs.org/status, status page
* http://translate.sugarlabs.org/langpacks, language packs


== Hosted on ==
== Hosted on ==


[[Machine/treehouse/pootle]]
[[Machine/pootle]]


== Administrative contact ==
== Administrative contact ==
Line 20: Line 17:
For non-emergency calls, preferably send email to the administrative contact.
For non-emergency calls, preferably send email to the administrative contact.


* [[User:Cjl|Chris Leonard]] has Pootle administrator privs.
* [[User:Sebastian|Sebastian Silva]] has assumed maintainership tasks
* [[User:RafaelOrtiz | Rafael Ortiz]] has system admin and Pootle admin privs.
* [[User:Cjl|Chris Leonard]] has Pootle administrator privs, and heads the localization efforts.
* [[User:Bernie|Bernie Innocenti]] has system admin and Pootle administrator privs, but takes care only of OS-level administration.
* [[User:Bernie|Bernie Innocenti]] has system admin and Pootle administrator privs, but takes care only of OS-level administration.
* [[User:SayaminduDasgupta|Sayamindu Dasgupta]] is the former admin. He still has an emeritus sysadmin account and he can be very helpful if contacted by email.
* [[User:SayaminduDasgupta|Sayamindu Dasgupta]] is the former admin. He still has an emeritus sysadmin account and he can be very helpful if contacted by email.
Line 50: Line 47:
{{Code|/etc/apache2/sites-enabled/000-default}}<br>
{{Code|/etc/apache2/sites-enabled/000-default}}<br>
{{Code|/etc/cron.d/pootle}}<br>
{{Code|/etc/cron.d/pootle}}<br>
{{Code|/var/www/pootle/sugarlabs/pootle.conf}}<br>
|-
|-
!scope="row" | Ports
!scope="row" | Ports
Line 66: Line 64:
== Mantainance Notes ==
== Mantainance Notes ==


Pootle in Sugar is maintained. (dirakx has step-up to be maint)
Pootle in Sugar is maintained. (icarito has step-up to be maint)
 
We (godiard / martin_xsa / erikos / dirakx / Bernie / Dogi) <!-- http://ru.wiktionary.org/wiki/%D1%83_%D1%81%D0%B5%D0%BC%D0%B8_%D0%BD%D1%8F%D0%BD%D0%B5%D0%BA_%D0%B4%D0%B8%D1%82%D1%8F_%D0%B1%D0%B5%D0%B7_%D0%B3%D0%BB%D0%B0%D0%B7%D0%B0 :)--> are trying to resolve the pending issues because we need working translations.


To date translations are working, we are working in a new VM pootle-devel to test upgrades of the Pootle/Django/Translate-toolkit stack.
== Migrated to Pootle 2.5.0 ==


The last maintainer was Sayamindu Dasgupta and we asked he our doubts, i am putting here this information.
Notes on the process were recorded here:  [[Service/translate/Pootle2.5]]


== Files ==
== Files ==
Line 131: Line 127:
=== Adding activities ===
=== Adding activities ===


Before registering new activity on http://translation.sugarlabs.org, make sure that:
Before registering new activity on http://translate.sugarlabs.org, make sure that:


* New activity is being hosted on http://git.sugarlabs.org;
* New activity is being hosted on http://git.sugarlabs.org;
* The {{Code|pootle}} user was added to the repository with commit access rights;
* The {{Code|pootle}} user was added to the repository with commit access rights;
* You have a proper {{Code|GIT_URL}} to clone repository from, e.g., {{Code|git://git.sugarlabs.org/cartoon-builder/mainline.git}}; that might be found on home page in gitorious, e.g., http://git.sugarlabs.org/cartoon-builder, in ''Clone & push urls'' field with selector ''GIT'';
* You have a proper {{Code|GIT_URL}} to clone repository from with commit permissions, e.g., {{Code|gitorious@git.sugarlabs.org:cartoon-builder/mainline.git}}; that might be found on home page in Gitorious, e.g., http://git.sugarlabs.org/cartoon-builder, in ''Clone & push urls'' field with selector ''SSH'';
* You know the proper {{Code|CATEGORY}} name to register the project in,
* You know the proper {{Code|CATEGORY}} name to register the project in;
* There is an unique {{Code|NAME}} of activity, this name will be used as a name of project in Pootle and directory name;
* There is an unique {{Code|NAME}} of activity, this name will be used as a name of project in Pootle and directory name;
* You know the proper {{Code|BRANCH}} in Git repository to use for translation; by default, it is {{Code|master}}.
* You know the proper {{Code|BRANCH}} in Git repository to use for translation; by default, it is {{Code|master}}.


To process the registration, login to pootle.sugarlabs.org and enter:
To process the registration, login to translate.sugarlabs.org and enter:


  sudo -u pootle python /var/lib/pootle/maintenance/helpers/admin/pootlepopulator.py ''<CATEGORY>'' ''<GIT_URL>'' /var/lib/pootle/checkouts/''<CATEGORY>''/''<NAME>'' [''<BRANCH>'']
  sudo -u pootle python /var/lib/pootle/maintenance/helpers/admin/pootlepopulator.py ''<CATEGORY>'' ''<GIT_URL>'' /var/lib/pootle/checkouts/''<CATEGORY>''/''<NAME>'' [''<BRANCH>'']
Line 197: Line 193:
  Already up-to-date. or
  Already up-to-date. or
  ####### Checking POT for Write (master) ######
  ####### Checking POT for Write (master) ######
=== Etoys .pot update ===
Go to Etoys translation directory (that is svn checkout from upstream project):
su - pootle
cd ~/translations/etoys_new
Since there is no need in changing .pot files on Pootle level, revert local changes if they present:
svn revert templates/*.pot
Fetch new update from the upstream:
svn up templates


=== Tips ===
=== Tips ===