I want to contribute to Drupal 5 romanian translation. I have a CVS account. I got a local copy (with checkout) from repository. There is no Drupal 5 branch or version defined.
How to start Drupal 5 translation?
Thanks, Claudiu
Claudiu Cristea wrote:
I want to contribute to Drupal 5 romanian translation. I have a CVS account. I got a local copy (with checkout) from repository. There is no Drupal 5 branch or version defined.
How to start Drupal 5 translation?
1) get the POT files or Drupal 5. 2) Rename the .pot files to .po files 3) Get the .ro translation for Drupal 4.7 4) Merge the translation against the POT files: Many strings haven't changed between Drupal 4.7 and 5 and a lot of other strings are similar enough to allow the gettext package to suggest a translation. 5) translate the rest of these files. 6) commit files to CVS HEAD in translations/ro 7) See http://drupal.org/handbook/cvs/quickstart on how to create a release.
Thanks, Claudiu
Thanks Gerhard,
3) Get the .ro translation for Drupal 4.7
Don't know where is this translation. In CVS there is a DRUPAL-4-7 branch with .po files. Should I expect only one file? Like ro.po?
4) Merge the translation against the POT files: Many strings haven't
changed between Drupal 4.7 and 5 and a lot of other strings are similar enough to allow the gettext package to suggest a translation.
How can this be done? I'm on Windows... Some docs?
Thanks!
Claudiu
Claudiu Cristea wrote:
- Get the .ro translation for Drupal 4.7
Don't know where is this translation. In CVS there is a DRUPAL-4-7 branch with .po files. Should I expect only one file? Like ro.po?
The files in CVS are always split up into small files. If you want a big one, download the translation here:
- Merge the translation against the POT files: Many strings haven't
changed between Drupal 4.7 and 5 and a lot of other strings are similar enough to allow the gettext package to suggest a translation.
How can this be done? I'm on Windows... Some docs?
The fabulous translator's guide: http://drupal.org/node/11130
Especially: http://drupal.org/node/11311
It offers a command line version of what to do. Not sure how to proceed on Windows. Does poedit offer merging of files? I guess it does, but I don't know how. Some googling revealed that there must be a "update from PO file" option. Find it and use that, I guess.
Cheers, Gerhard
It offers a command line version of what to do. Not sure how to proceed on Windows. Does poedit offer merging of files? I guess it does, but I don't know how. Some googling revealed that there must be a "update from PO file" option. Find it and use that, I guess.
There is a way. Open ro.po file using poedit (4.7 translation) Now click Update from POT template in menu and select .pot file from 5.x Safe updated file as something-something.po
Do this for all instances of 5.x .pot templates
Finally the problem was solved on a Linux machine.
6) commit files to CVS HEAD in translations/ro
Now I cannot commit the changes to the repository. The error: "cvs add: *.po added independently by second party"
Claudiu Cristea wrote:
Finally the problem was solved on a Linux machine.
- commit files to CVS HEAD in translations/ro
Now I cannot commit the changes to the repository. The error: "cvs add: *.po added independently by second party"
The files are probably already there. So you just copy your files over them and then do:
cvs commit -m "new Romanian translation by Claudiu Cristea" *.po
Cheers, Gerhard
Sorry... I don't know how to "copy over them". I had used "cvs add" but I got this error (cvs add: `aggregator-module.po' added independently by second party).
I'm using TortoiseCVS but I think that is not an OS related issue...
On 1/23/07, Gerhard Killesreiter gerhard@killesreiter.de wrote:
Claudiu Cristea wrote:
Finally the problem was solved on a Linux machine.
- commit files to CVS HEAD in translations/ro
Now I cannot commit the changes to the repository. The error: "cvs add: *.po added independently by second party"
The files are probably already there. So you just copy your files over them and then do:
cvs commit -m "new Romanian translation by Claudiu Cristea" *.po
Cheers, Gerhard _______________________________________________ translations mailing list translations@drupal.org http://lists.drupal.org/mailman/listinfo/translations
Claudiu Cristea wrote:
Sorry... I don't know how to "copy over them". I had used "cvs add" but I
Replace the existing files from doing the chekcout with your modified files.
got this error (cvs add: `aggregator-module.po' added independently by second party).
Don't use "cvs add", use "cvs commit".
I'm using TortoiseCVS but I think that is not an OS related issue...
Indeed.
Cheers, Gerhard
Well...
Everything went well...
I had translated some records, I had commited the changes to HEAD...
Now I'm at point 7. I want to create a branch DRUPAL-5 but I got error from CVS:
** Access denied: claudiucristea does not have permission to tag files in: ** contributions/translations/ro ** Please contact the owner of this project and request to be added ** as a CVS maintainer, see http://drupal.org/node/63634.
I don't know how to add something like 5.x-1.x-dev for Romanian translation on the page http://drupal.org/project/Translations .
Thanks a lot!
Claudiu
Claudiu Cristea wrote:
Well...
Everything went well...
I had translated some records, I had commited the changes to HEAD...
Now I'm at point 7. I want to create a branch DRUPAL-5 but I got error from CVS:
** Access denied: claudiucristea does not have permission to tag files in: ** contributions/translations/ro ** Please contact the owner of this project and request to be added ** as a CVS maintainer, see http://drupal.org/node/63634.
Please just read the message. You need to have permission to add tags. Contact owner of ro project.
Thanks Jakub, thanks Gerhard
How can I find the owner of the project?
Claudiu
On 1/24/07, Jakub Suchy jakub@rtfm.cz wrote:
Claudiu Cristea wrote:
Well...
Everything went well...
I had translated some records, I had commited the changes to HEAD...
Now I'm at point 7. I want to create a branch DRUPAL-5 but I got error
from
CVS:
** Access denied: claudiucristea does not have permission to tag files
in:
** contributions/translations/ro ** Please contact the owner of this project and request to be added ** as a CVS maintainer, see http://drupal.org/node/63634.
Please just read the message. You need to have permission to add tags. Contact owner of ro project. _______________________________________________ translations mailing list translations@drupal.org http://lists.drupal.org/mailman/listinfo/translations
Claudiu Cristea wrote:
Thanks Jakub, thanks Gerhard
How can I find the owner of the project?
There is a link at near the top, giving the author of the node which is the same as the owner. Please contact him. If he doesn't reply within a week or so, I'll transfer the project to you.
Cheers, Gerhard
Hi,
Few months ago I decided to start on Drupal translation. I set it up on my PC and I finally have more time to start on translation.
I applied for access to CVS repository and I created an Issue. Could you be so kind to check if it's correctly filled in?
Anything else needed, or could try to commit some parts of translation? (not today, in few more days...)
Best regards, Renato
mailto:renato@translator-shop.org http://www.translator-shop.org http://www.translatorweb.org
office: +385 1 3750057 mobile: +385 91 5133557
Renato Pavicic - Translator-shop.org wrote:
Hi,
Few months ago I decided to start on Drupal translation. I set it up on my PC and I finally have more time to start on translation.
I applied for access to CVS repository and I created an Issue. Could you be so kind to check if it's correctly filled in?
You filed an issue against the templates. What you need to do is to create a project.
Anything else needed, or could try to commit some parts of translation? (not today, in few more days...)
See http://drupal.org/handbook/cvs/quickstart
for how to get started with cvs.
See http://drupal.org/node/11130 for translations related help.
Cheers, Gerhard