Page 1 of 1
Greek Translations or Overrides from Phoca Gallery
Posted: 14 Sep 2016, 14:31
by dmermigas
Hi I just installed Phoca Gallery 4.3.1 and it is awesome!!! I was wondering since i can't find and install Greek language pack for it is it possible to use overrides? I tried it but it doesn't seem to be working.
Any ideas?
Thanks in advance.
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 16 Sep 2016, 22:10
by christine
Hi,
there is an older one:
https://github.com/PhocaCz/PhocaGallery ... allery.zip
Unzip it local on your pc.
Copy the two files to:
/language/el-GR
and:
/administrator/language/el-GR
But these files are not very up to date. Some strings will be not translated.
Hopefully it will help you.
Kind regards, Christine
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 18 Sep 2016, 14:23
by dmermigas
Thank you very much for your help. I did copy these two files but nothing happened. Should i do something else?
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 19 Sep 2016, 13:49
by dmermigas
Hi Christine,
It seemed that the file of the greek translation was structured differently. It has # at the start of each commented out line intead of ; and crlf athe the and of each line. What i did was to copy and rename the en-GB ini file that was installed with the module of Phoca gallery and change the fields i needed there. The i copied them to the locations you pointed out and i managed to see greek in the upload form.
However, i didn't manage to traslate the "Add Files" anf "Start Upload" buttons no matter what i tried. Do yoy or anybody else have anything to suggest?
Thank you very much for your assistance,
Dimitris
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 19 Sep 2016, 17:10
by christine
Hi Dimitris,
Unfortunately, the translation ist structured differently. Also: " " are missing after = at the end of text.
"Start Upload" etc. just try with:
Extensions > Languages > Overrides > New > screenshot.
On the left side you can enter there new and/or changed text. Save it.
Be aware, that, if you want to change 2 strings, it's a must, to complete the 1st override with saving, cache clearing, checking before starting with 2nd override.
http://imgur.com/miBqzfr
see also:
https://docs.joomla.org/J3.x:Language_O ... _in_Joomla
Kind regards, Christine
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 19 Sep 2016, 18:16
by dmermigas
Hi Christine,
Thanks for your help but I have already tried that to no avail. I also tried searching various php files but with no luck. So currently I am stucked!!!!
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 19 Sep 2016, 22:07
by Benno
Hi,
you need to edit this file: /components/com_phocagallery/assets/plupload/jquery.plupload.queue/jquery.plupload.queue.js
Open it with an editor like Notepad++ is.
In line 58 you will find: Add Files
In line 59 you will find: Start Upload
Translate this to greek.
Save the file and convert it to UTF-8 without BOM.
Copy it to the above folder.
Kind regards,
Benno
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 20 Sep 2016, 13:42
by dmermigas
Hi Benno,
You are awesome!!! Thank you very much.
Dimitris
Re: Greek Translations or Overrides from Phoca Gallery
Posted: 20 Sep 2016, 16:54
by Benno
Kind regards,
Benno