Page 1 of 2

Problem with localization of Phoca Map 3.0.2 plugin

Posted: 29 Oct 2014, 01:41
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.

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 29 Oct 2014, 11:39
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

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 29 Oct 2014, 15:48
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

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 29 Oct 2014, 16:29
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!!! :!:

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 29 Oct 2014, 21:03
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

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 29 Oct 2014, 21:54
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).

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 30 Oct 2014, 20:04
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

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 30 Oct 2014, 20:14
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

?

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 30 Oct 2014, 21:48
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
?

Re: Problem with localization of Phoca Map 3.0.2 plugin

Posted: 01 Nov 2014, 22:11
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