Greek Translations or Overrides from Phoca Gallery

Translations - translations for Phoca extensions
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Greek Translations or Overrides from Phoca Gallery

Post 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.

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Greek Translations or Overrides from Phoca Gallery

Post 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
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Re: Greek Translations or Overrides from Phoca Gallery

Post by dmermigas »

Thank you very much for your help. I did copy these two files but nothing happened. Should i do something else?
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Re: Greek Translations or Overrides from Phoca Gallery

Post 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
christine
Phoca Hero
Phoca Hero
Posts: 2818
Joined: 28 Nov 2010, 17:20

Re: Greek Translations or Overrides from Phoca Gallery

Post 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
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Re: Greek Translations or Overrides from Phoca Gallery

Post 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!!!!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Greek Translations or Overrides from Phoca Gallery

Post 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
dmermigas
Phoca Member
Phoca Member
Posts: 10
Joined: 14 Sep 2016, 10:12

Re: Greek Translations or Overrides from Phoca Gallery

Post by dmermigas »

Hi Benno,
You are awesome!!! Thank you very much.
Dimitris
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Greek Translations or Overrides from Phoca Gallery

Post by Benno »

8)

Kind regards,
Benno
Post Reply