I'd like to help out with the translated English of this module. How can I do that?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | photos.pot | 16.41 KB | dydecker |
I'd like to help out with the translated English of this module. How can I do that?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | photos.pot | 16.41 KB | dydecker |
Comments
Comment #1
yang_yi_cn commentedI think you can just post the .po file here and the maintainer will look at it
Comment #2
eastcn commentedthank you.
You can fix the string, and then submitted to here.
pot file: photos\translations\photos.pot
Comment #3
dydecker commentedAttached is a rewrite of the .po file. 95% ok I think - a couple of minor strings I couldn't find on front end.
Regarding the name of module, maybe "album photos" is a little unnatural in English. The best choice would be "Photo Albums", but perhaps that is very similar to an older (disused) Drupal module called "Photo Album". But since that module is not available anymore, maybe you can use it?
Or you could give the module its own unique name. I think "Pix" might be a good name. Short, sweet, and different from other modules.
I did not change "album photos" in .pot file, but I can do if you want. Let me know what you think.
I renamed all instances of "images" to "photos" in the module for consistency, and to avoid confusion with other image modules.
Regarding plurals, I put "This album contains x photo(s)" so it works for 1. I'm not sure if you want to code to make an exception for 1, but maybe this will do for now.
Comment #4
eastcn commentedThank you for your work, I will make the amendment.
On the module name change, which will cause a lot of trouble.
Comment #5
gregzenger commentedRegarding plurals, "This album contains x photo(s)" so it works for 1....
I would rather it say "This album contains x photos." My reasoning is: how often do you have albums with only 1 picture? Sure, it can happen, but most of the time that wont be the case. And I don't personally have a problem with it saying "This album contains 1 photos." Of course, the proper way to handle this (eventually) would be to have an IF...ELSE statement to select the pluralized version. I dont know how this would affect the other languages though.
Just my 2 cents.
Comment #6
berdirDrupal provides a easy way to provide an alternative for those cases, you can just specify two different translations...
http://api.drupal.org/api/function/format_plural/6
(But of course, the code needs to be changed... but this is necessary anywhay when a text is changed)
Comment #7
anoopjohn commentedThis is a fantastic module and I think this is by far the best photo gallery module available in Drupal. However there seems to be quite a lot of grammatical mistakes in the labels and messages displayed in the module(for english). I am planning to put some effort into cleaning this issue up. Since the module has a few translations up and going it is not just a matter of editing the .pot file or the code, either of which if done alone is in fact incorrect.
The correct way to tackle the issue would be as follows
1) Find the text strings that need correction inside the code.
2) Find the corresponding msgids in the different .po files
3) Replace the incorrect string inside the code as well as in the .po files.
If we replace the text string from inside the code alone the corresponding translations will cease to work.
If eastcn could show me a green flag I could go ahead and work on this.
Comment #8
anoopjohn commentedOthers who stumble upon this thread please post issues/mistakes that you identify and their solutions here.
Comment #9
anoopjohn commentedIs anybody looking at the issue queue. All I want is a confirmation that my effort is not going to be wasted.
Comment #10
Starminder commentedSubscribe - I opened a similar ticket awhile back. Am also more than happy to help.
Is anyone actively working on this module anymore?
Comment #11
nathaniel commentedComment #12
anoopjohn commentedIs this issue still relevant?
Comment #13
nathaniel commentedI guess not.
We can open a new issue if needed.