*** jinty has quit IRC | 01:30 | |
*** jinty has joined #schooltool | 01:30 | |
*** ignas has quit IRC | 02:27 | |
*** jinty has quit IRC | 02:47 | |
*** wrobel` has joined #schooltool | 03:19 | |
*** wrobel has quit IRC | 03:26 | |
*** ashik has joined #schooltool | 10:33 | |
ashik | Asking for help regarding Translation | 10:34 |
---|---|---|
ashik | Please help me | 10:34 |
*** ignas has joined #schooltool | 11:12 | |
ashik | Asking for help regarding Translation | 12:16 |
ashik | Please help me | 12:16 |
ignas | trunk or release version ? | 12:19 |
ashik | what does that mean? | 12:22 |
*** Aiste has joined #schooltool | 12:22 | |
ashik | I have already installed schooltool on ubuntu | 12:23 |
ashik | and seeking for its translation | 12:23 |
ignas | did you use svn to do that | 12:25 |
ignas | or synaptic/apt ? | 12:25 |
ashik | yes sir | 12:27 |
ashik | i did it through svn | 12:27 |
ignas | and if you do "svn up" in the schooltool directory it says what ? | 12:27 |
ignas | as jinty has updated some translation stuff very reccently | 12:27 |
ashik | i have not tried any thing regarding translation with svn | 12:29 |
ashik | ok, what is the command..? | 12:29 |
ignas | "svn up" - it is not translation related | 12:29 |
ignas | it just updates your schooltool | 12:30 |
ignas | as translation could not actually work before, because one line in the makefile was missing | 12:30 |
ignas | sorry, but i have to go to a shop now, I hope i'll be back in an hour or so | 12:31 |
ashik | U src/schooltool/app/browser/ftests/composite-timetables.txt | 12:32 |
ashik | U src/schooltool/app/browser/ftests/cal.txt | 12:32 |
ashik | U src/schooltool/app/rest/ftests/timetabling.txt | 12:32 |
ashik | U src/schooltool/demographics/interfaces.py | 12:32 |
ashik | U src/schooltool/demographics/person.py | 12:32 |
ashik | U Makefile | 12:32 |
ashik | Updated to revision 6427. | 12:32 |
ashik | please i need your help | 12:32 |
ashik | come soon | 12:32 |
ashik | now what should i do? | 12:32 |
ashik | what should be my next step? | 12:32 |
ashik | are you there? | 12:35 |
ashik | one more thing | 12:35 |
ashik | i lost my message.mo file from folder LC_MESSAGE | 12:35 |
ashik | is it important? how can i get it back? | 12:35 |
*** jinty has joined #schooltool | 12:58 | |
ashik | Hi jinty, | 13:06 |
ashik | You retrieved translation file recently | 13:06 |
ashik | Please help me too | 13:06 |
ignas | i'm back now | 13:11 |
ashik | thank you | 13:12 |
ashik | what should i do now | 13:12 |
ignas | so you want to translate your schooltool or use translations made by someone else ? | 13:12 |
ashik | i have already translated the file | 13:13 |
ignas | which file ? | 13:13 |
ashik | schoolbell.po | 13:13 |
ashik | schooltool.pot | 13:13 |
ignas | there is a schooltool.pot too iirc | 13:13 |
ignas | make extract-translation should create both of them | 13:13 |
ashik | I first translated schooltool.pot in created a directory in src/schooltool/locales | 13:14 |
ignas | yes and created a schooltool.po | 13:15 |
ignas | btw what language are you translating it into ? | 13:16 |
ashik | i renamed the translated file as schoolbell.po and kept inside src/schooltool/locales/ne/LC_MESSAGES/ | 13:16 |
ashik | into Nepali | 13:16 |
ignas | oh, that's the mistake | 13:16 |
ashik | where? | 13:16 |
ignas | you should rename schooltool.po you created into locales/ne/LC_MESSAGES/schooltool.po | 13:16 |
ignas | and schoolbell.po you create into locales/ne/LC_MESSAGES/schoolbell.po | 13:17 |
ignas | and then run make update_translations i think | 13:17 |
ignas | to create .mo files | 13:17 |
ashik | i did not understand sir | 13:17 |
ashik | u mean i should put both schooltool.po and schoolbell.po at src/schooltool/locales/ne/LC_MESSAGES/schoolbell.po | 13:18 |
ignas | what .pot files have you translated ? | 13:18 |
ignas | ashik: yes | 13:18 |
ashik | schooltool.pot | 13:18 |
ignas | you should translate both schooltool.pot and schoolbell.pot | 13:19 |
ignas | both of them either are in src/schooltool/locales/ or should get generated by running "make extract-translations" i think | 13:20 |
ashik | is it important to translate both of file | 13:21 |
ashik | i have only translated schooltool.pot | 13:22 |
ignas | i think it is important to translate both files | 13:23 |
ignas | calendaring is using a lot of strings only present in scchoolbell.pot | 13:23 |
ashik | ok sir that will take some time to translate that file too | 13:25 |
ignas | when you will be done, put both .po files in ne/LC_MESSAGES/ | 13:26 |
ashik | and what should i do after translating this file too? | 13:26 |
ignas | and run | 13:26 |
ignas | make update-translations | 13:26 |
ashik | at what location | 13:27 |
ignas | at the location where the makefile is | 13:27 |
ashik | i mean where should i be working at run make update-translations | 13:27 |
ashik | i think this will make .mo files | 13:29 |
ashik | am i right? | 13:29 |
ashik | one more thing | 13:32 |
ashik | i don't know how i lost message.mo file from location ne/LC_MESSAGES | 13:34 |
ashik | is there any way i can recover that file? | 13:34 |
jinty | ashik: message.mo is not made by the build process | 13:34 |
ashik | so how can i get that file? | 13:35 |
jinty | so I don't know how it was created or how it can be recovered | 13:35 |
ashik | what should be my next step after creating .mo file | 13:35 |
jinty | the build process only creates a schooltool.mo and schoolbell.mo that zope uses | 13:35 |
jinty | s/zope/schooltool/ | 13:36 |
ashik | of both schooltool.po and schoolbell.po | 13:36 |
jinty | afaik, a reasonable procedure to create a schooltool translation is: | 13:36 |
jinty | 1. run make update-translations from the top level. | 13:37 |
jinty | 2. edit the schooltool.po and schoolbell.po files created in src/schooltool/locales/${locale}/LC_MESSAGES/ | 13:38 |
jinty | 3. run make update-transtlations again from the top level (to update the .mo files). | 13:38 |
jinty | 4. start schoolbell | 13:39 |
jinty | 5. Commit your translations into the schooltool repository. | 13:39 |
jinty | er, with step 0: make extract-translations | 13:43 |
ashik | is "start schoolbell" is a command? | 13:43 |
jinty | "make run" should start schooltool | 13:44 |
* jinty is continually mixing up schooltool and schoolbell | 13:44 | |
ashik | shall i start all these steps right now or only after translating both file? | 13:46 |
jinty | do steps 0, 1 before translating. | 14:00 |
jinty | step 2 is the translation step | 14:01 |
jinty | step 3,4 is to compile and test your translations | 14:01 |
jinty | step 5 is so that others can benifit from your work and don't have to re-do it | 14:02 |
ashik | what is the command for step 5 | 14:02 |
ignas | jinty: if one is translating into a new ${locale} po files might not get created i think | 14:02 |
jinty | ignas: I think you are right | 14:03 |
jinty | ashik: you need access, and to speak to th1a about that | 14:03 |
ashik | but i have to work on new locale | 14:04 |
jinty | ignas: any ideas at fixing my procedure? | 14:04 |
jinty | ls | 14:05 |
ashik | sorry to repeat my question | 14:10 |
ashik | what is the command for step 5 | 14:10 |
ignas | just take both po files and mail them to schooltool's mailing list i guess | 14:15 |
ignas | jinty: as for the procedure i am not sure, but maybe just adding an empty folder in locales with the name of the new language would help | 14:16 |
jinty | ashik: you need to know how to use subversion for that and have access to the schooltool repository. otherwise ignas' suggestion is best. | 14:16 |
ignas | jinty: though the way ashik was doing it - creating both po files manually and putting them in "locales/ne" should work too i guess | 14:17 |
ignas | "locales/ne/LC_MESSAGES" i mean | 14:17 |
jinty | perhaps creating the directory and copying the .pot files over | 14:18 |
jinty | hmm, let me test some things out. If we can come up with a truly robust and simple procedure, it might help. | 14:19 |
jinty | ignas: it's enough just to create the directory, touch the .po files and make update-translations | 14:23 |
jinty | ashik, I'll write a mail to the mailing list with a better procedure | 14:25 |
ashik | make command run only at location schooltool (a directory prior to src) | 14:25 |
ashik | thank you jinty | 14:25 |
ashik | I mean to say: make update-translations would create .mo files at location usr/local/schooltool/schooltool/schooltool/ | 14:27 |
ashik | and not at LC_MESSAGE | 14:27 |
ashik | so i ll have to move the .mo file from usr/local/schooltool/schooltool/schooltool/ to LC_MESSAGE | 14:28 |
ashik | so is a right process i m following? | 14:29 |
jinty | er, I don't understand how you get usr/local/schooltool/schooltool/schooltool/, so I can't answer your question | 14:30 |
jinty | I would suggest you try this out as a non-priviliged user in your home directory first before trying it as root | 14:31 |
ashik | is just a location where i installed schooltool | 14:31 |
ashik | will the command you mentioned automatically create .mo file at location LC_MESSAGE | 14:33 |
ashik | or i have to move the file from somewhere ? | 14:34 |
*** ignas has quit IRC | 14:37 | |
ashik | ok thank you jinty , i will complete my translation and then start working on rest of steps | 14:42 |
ashik | its time for me to leave | 14:42 |
ashik | have a nice time | 14:42 |
*** ashik has left #schooltool | 14:43 | |
*** jfroche has joined #schooltool | 15:03 | |
*** ignas has joined #schooltool | 17:17 | |
*** jfroche has quit IRC | 18:19 | |
*** jfroche has joined #schooltool | 18:31 | |
*** jfroche has quit IRC | 18:37 | |
*** jfroche has joined #schooltool | 19:01 | |
*** tiredbones has joined #schooltool | 19:15 | |
*** Aiste_ has joined #schooltool | 19:30 | |
*** tiredbones_ has quit IRC | 19:32 | |
*** Aiste has quit IRC | 19:40 | |
*** Aiste_ is now known as Aiste | 20:19 | |
*** ignas has quit IRC | 20:26 | |
*** ignas has joined #schooltool | 20:43 | |
*** ignas has joined #schooltool | 20:57 | |
*** tiredbones has quit IRC | 21:18 | |
*** tiredbones has joined #schooltool | 21:19 | |
*** ignas has joined #schooltool | 21:19 | |
*** tiredbones has quit IRC | 21:39 | |
*** tiredbones has joined #schooltool | 21:41 | |
*** ignas has quit IRC | 22:45 | |
*** jfroche has quit IRC | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!