Translation

Phoca Maps - displaying maps in Joomla! CMS
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Translation

Post by Jan »

Hi, there is:

plugin: PLG_CONTENT_PHOCAMAPS (this is the rigth string, not this: PLG_PHOCAMAPS - such needs to be replaced)

and
component COM_PHOCAMAPS.

Depends if you are using component or plugin.
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Translation

Post by komir »

Iam using component and try with
hr-HR.com_content_phocamaps.ini
hr-HR.com_CONTENT_phocamaps.ini
hr-HR.com_phocamaps.ini

but allways get English :cry:
and now I broke my keyboard :lol: :twisted:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Translation

Post by Jan »

komir wrote: hr-HR.com_content_phocamaps.ini
hr-HR.com_CONTENT_phocamaps.ini
hr-HR.com_phocamaps.ini
Hi, for the components, the hr-HR.com_phocamaps.ini is the file where the strings are stored. Just find it on your server and compare it to the english version - missing strings then needs to be added the croation translation, see:

https://www.phoca.cz/documents/46-transl ... extensions
https://www.phoca.cz/documents/46-transl ... -in-joomla

Jan
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Translation

Post by komir »

Jan wrote:
komir wrote: hr-HR.com_content_phocamaps.ini
hr-HR.com_CONTENT_phocamaps.ini
hr-HR.com_phocamaps.ini
Hi, for the components, the hr-HR.com_phocamaps.ini is the file where the strings are stored. Just find it on your server and compare it to the english version - missing strings then needs to be added the croation translation, see:

https://www.phoca.cz/documents/46-transl ... extensions
https://www.phoca.cz/documents/46-transl ... -in-joomla

Jan
Hello,
I copied English file renamed it to hr-HR.com_phocamaps.ini and translate but fronted still English.
I translated English phocamaps.ini and fronted still English :x
Best regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Translation

Post by Jan »

First you need to recognize which application you are using for displaying the map:

When you look at the site where the English is displayed, which appliaction is this?

Component or Plugin?
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Translation

Post by komir »

First you need to recognize which application you are using for displaying the map:

When you look at the site where the English is displayed, which appliaction is this?

Component or Plugin?
It is plugin

Code: Select all

{phocamaps view=map|id=1}
inside article.
Last edited by komir on 27 Nov 2012, 21:13, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Translation

Post by Jan »

Ok, and is the plugin language up-to-date.

See the language: hr-HR.plg_content_phocamaps.ini

It should include strings in this format:
PLG_CONTENT_PHOCAMAPS_...

but some obsolete (not working) translations include such format:
PLG_PHOCAMAPS_... which is wrong and needs to be updated.

Jan
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Translation

Post by komir »

As I can see files are ok. Here you can download them and see http://yadi.sk/d/i0mnlrMw0u9G4
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Translation

Post by Jan »

Hi, yes, they seems to be Ok, did you copy them to right folders:
https://www.phoca.cz/documents/46-transl ... -in-joomla
Jan
If you find Phoca extensions useful, please support the project
komir
Phoca Member
Phoca Member
Posts: 23
Joined: 06 Jan 2012, 22:52
Contact:

Re: Translation

Post by komir »

Strange, there was no that two files?
I copied it from instalation file and now it is working.
Post Reply