Page 1 of 2
Catalan translation - Updated // Question
Posted: 04 Jan 2010, 15:18
by Nessa
Hi,
I have added some things in the catalan translation for phoca gallery component made by el_libre.
I don't know how it works, so I just write here them:
file:
ca-ES.com_phocagallery
ONLY REGISTERED AND LOGGED IN USER CAN RATE THIS IMAGE=Només usuaris registrats poden votar aquesta imatge
RATING=Valoració
YOU HAVE ALREADY RATED THIS IMAGE=Ja has votat aquesta imatge
PHOCA GALLERY IMAGE RATED=Imatge votada
CHARACTERS WRITTEN=Caràcters escrits
AND LEFT FOR DESCRIPTION=Caràcters per a escriure
MAX SIZE=Mida màx.
MAX RESOLUTION=Resolució màx.
And I have one question, how can I translate the word
votes circled in this image (it's the detail view)?
That's all, and thanks you for this component ^^.
Nessa
Re: Catalan translation - Updated // Question
Posted: 04 Jan 2010, 16:46
by Nessa
I have already translated
votes, changing a bit the file components\com_phocagallery\views\detail\tmpl\default_rating, line 25:
Original:
Code: Select all
echo '<strong>' . JText::_('Rating'). '</strong>: ' . $this->tmpl['votesaverageimg'] .' / '.$this->tmpl['votescountimg'] . ' ' . JText::_($this->tmpl['votestextimg']). ' ';
Code: Select all
echo '<strong>' . JText::_('Rating'). '</strong>: ' . $this->tmpl['votesaverageimg'] .' / '.$this->tmpl['votescountimg'] . ' ' . JText::_('votes'). ' ';
And then adding to the translation file:
VOTES=vots
It might not be the best way to translate it...changing the code
Re: Catalan translation - Updated // Question
Posted: 05 Jan 2010, 19:26
by Jan
Hi, you need not to change the string:
it can get two values:
vote, votes
$tmpl['votestextimg'] = 'votes';
$tmpl['votestextimg'] = 'vote';
So you just change the language string:
VOTES=votes
VOTE=vote
Jan
Re: Catalan translation - Updated // Question
Posted: 05 Jan 2010, 21:16
by Nessa
Hi,
Now that I know this, is very simple to translate it...
In catalan is:
VOTES=vots
VOTE=vot
nessa
Re: Catalan translation - Updated // Question
Posted: 09 Jan 2010, 18:14
by Jan
Ok
Re: Catalan translation - Updated // Question
Posted: 23 Sep 2010, 18:33
by gonzalocalle
Hi, Jan>
I need to translate into spanish all rating messages. That is
ONLY REGISTERED AND LOGGED IN USER CAN RATE THIS IMAGE
RATING=
YOU HAVE ALREADY RATED THIS IMAGE=
PHOCA GALLERY IMAGE RATED=
CHARACTERS WRITTEN=
AND LEFT FOR DESCRIPTION=
MAX SIZE=
MAX RESOLUTION=
I have uploaded a Spanish extension but it only works for front page and forms.
Where and how do I have to make the changes?
Thanks
Re: Catalan translation - Updated // Question
Posted: 23 Sep 2010, 18:51
by gonzalocalle
Hi,
I found it in defalut rating
but I can not find where is the> Thanks for voting!!
Thanks
Re: Catalan translation - Updated // Question
Posted: 23 Sep 2010, 19:15
by gonzalocalle
Hi, Jan
Well, need to translate into spanish also Upload form
Upload File [ Maximum Size: 3.00 MB, Maximum Resolution: 3072 x 2304 px ]
Filename:
Image Title:
Description:
Please, can you tell me Where and how to do it_?
Can we add some field to this form_? Where and how?
Thansk, by the way, great component.
Gonzalo
Re: Catalan translation - Updated // Question
Posted: 23 Sep 2010, 19:34
by gonzalocalle
H/+i+, /J/an
Another isue
In the Upload form
I found that Image description may be limited in characters but there is no limit in Image Title.
if someone enters an Image title very long it goes beyond the frame.
How can I limit characters on Image Title?
Thanks
Gonzalo
Re: Catalan translation - Updated // Question
Posted: 24 Sep 2010, 00:19
by gonzalocalle
HI, JAN
SOLVED I DOWLOADED THE SPANISH PACKAGE.!!
my only problem is to identify the uploader in my categories.
regards
gonzal