Problem with localization of Phoca Map 3.0.2 plugin

Phoca Maps - displaying maps in Joomla! CMS
mkomarov
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Oct 2014, 01:27

Problem with localization of Phoca Map 3.0.2 plugin

Post by mkomarov »

Hello,

I have a problem with ru-RU localization of Phoca Map 3.0.2 plugin
I copied en-GB language files to /plugins/content/phocamaps/language/ru-RU/ folder, rename it to ru-RU.plg_content_phocamaps.ini and translate two constants values:
PLG_CONTENT_PHOCAMAPS_FROM_ADDRESS and
PLG_CONTENT_PHOCAMAPS_GET_ROUTE
But anyway I see english version of these constant "From address:" and "Get route" but Russian.
Where I'm wrong? :x

Thank you.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9704
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by Benno »

Hi,
Did you set you translation in double quotes? Example:
PLG_CONTENT_PHOCAMAPS_FROM_ADDRESS="Your translation"
Did you save ru-RU.plg_content_phocamaps.ini as a UTF8 without BOM file?
Did you clear all caches? (Joomla! and browser cache?)
Same result with a different pc?
:idea:

Kind regards,
Benno
mkomarov
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Oct 2014, 01:27

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by mkomarov »

Hi Benno,

1. Quotes - of course
2. Checked - yes, without
3. Yes, cache cleared
4. Yes. You can see result here: www dot genercom dot ru
/jml_tmp/index.php/about/contacts

:x

brgds,
Max
mkomarov
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Oct 2014, 01:27

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by mkomarov »

Also I tried to change values in appropriate en-GB file for this constants - resuilt is the same...

UPD: In the same time: I have translated back-end part of pugin's language file to Russian and it show translated values to me!!! :!:
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9704
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by Benno »

Hi,
www dot genercom dot ru is offline. :idea:
We'll Have More Soon

This domain is being hosted on Arvixe. This site is currently under construction and we will have more for you soon.
UPD: In the same time: I have translated back-end part of pugin's language file to Russian and it show translated values to me!!!
Is the frontend set to russian by default?

Kind regards,
Benno
mkomarov
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Oct 2014, 01:27

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by mkomarov »

Benno wrote:Hi,
www dot genercom dot ru is offline. :idea:
We'll Have More Soon

This domain is being hosted on Arvixe. This site is currently under construction and we will have more for you soon.
UPD: In the same time: I have translated back-end part of pugin's language file to Russian and it show translated values to me!!!
Is the frontend set to russian by default?

Kind regards,
Benno
Benno,
It's online: www.genrcom.ru/jml_tmp/index.php/about/contacts
Yes, default lang is russian for both (front and back).
mkomarov
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Oct 2014, 01:27

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by mkomarov »

Hi, Benno
After domain name additional path to problem need
www dot genercom dot ru slash jml_tmp/index.php/about/contacts
Sorry but when I wrote complete address my post was premoderated and canceled, I suppose.
BRGDS,
Max
Benno wrote:Hi,
www dot genercom dot ru is offline. :idea:
We'll Have More Soon
This domain is being hosted on Arvixe. This site is currently under construction and we will have more for you soon.
UPD: In the same time: I have translated back-end part of pugin's language file to Russian and it show translated values to me!!!
Is the frontend set to russian by default?
Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by Jan »

Hi, is the translation stored in:

languages/ru-RU/ru-RU.plg_content_phocamaps.ini
and
administrator/languages/ru-RU/ru-RU.plg_content_phocamaps.ini

?
If you find Phoca extensions useful, please support the project
mkomarov
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 29 Oct 2014, 01:27

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by mkomarov »

Hi Jan,
Yes.
Both, component and plugin in back-end are display in russian correctly but these two constants on plugin front-end.
Jan wrote:Hi, is the translation stored in:
languages/ru-RU/ru-RU.plg_content_phocamaps.ini
and
administrator/languages/ru-RU/ru-RU.plg_content_phocamaps.ini
?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with localization of Phoca Map 3.0.2 plugin

Post by Jan »

Hmm, then maybe to test if the translation file does not include any error (missing "), etc. like Benno has been asking - really no idea what other problem there can be - maybe enabling debug mode and debug language can say something too :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply