Page 1 of 1

Phoca maps plugin language

Posted: 19 Sep 2012, 18:03
by manuel
HI
I'm updating this post, because it's a big mistake !!... When itried to set language, i was logged on the front end... and my default language's profile was english :roll:

i leave the spanish translation for Jan

Happy day... :twisted:



HI
I’m actually trying to set Phoca Maps Plugin with different languages like french or spanish.
It’s ok with the Google Map Language, but not with the “get route“ feature. The english version is always loading ???

I don’t really understand after control the PHP code of the plugin (language was correctly loading).


The phoca maps plugin spanish language file was not correct (it leave the "_CONTENT" word)
see below the correct code (es-ES.plg_content_phocamaps.j17):

Code: Select all

; @package		Joomla.Framework
; @copyright	Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
; @license		GNU General Public License version 2 or later; see LICENSE.txt
;
; @component Phoca Component version 2.0.1
; @copyright Copyright (C) Alejandro Gonzalez 
; @license http://www.gnu.org/copyleft/gpl.html GNU General Public License version 2 or later;
;
; @test utf-8 ä, ö, ü
;


;[2.0.1]
PLG_CONTENT_PHOCAMAPS_DISPLAY_MAP_DESCRIPTION_LABEL="Mostrar Descripcion del Mapa"
PLG_CONTENT_PHOCAMAPS_DISPLAY_MAP_DESCRIPTION_DESC="Asignar si la descripcion del Mapa se debe mostrar en el Plugin"
PLG_CONTENT_PHOCAMAPS_NO="No"
PLG_CONTENT_PHOCAMAPS_YES="Si"
PLG_CONTENT_PHOCAMAPS_DETAIL_WINDOW_LABEL="Ventana de Detalles"
PLG_CONTENT_PHOCAMAPS_DETAIL_WINDOW_DESC="Ventana de detalles"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX="Ventana Box"
PLG_CONTENT_PHOCAMAPS_STANDARD_POPUP_WINDOW="Ventana standard de Detalles"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX_OVERLAY_COLOR_LABEL="Color del Solapamiento la Ventana Modal "
PLG_CONTENT_PHOCAMAPS_MODAL_BOX_OVERLAY_COLOR DESC="Asignar Color de Solapamiento de la Ventana Modal"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX_OVERLAY_OPACITY_LABEL="Opacidad de la Ventana Modal"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX_OVERLAY_OPACITY DESC="Asignar Opacidad de la Ventana Modal"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX_BORDER_COLOR_LABEL="Color del Borde de la Ventana Modal"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX_BORDER_COLOR_DESC="Asignar Color de la Ventana Modal"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX_BORDER_WIDTH_LABEL="Ancho del Borde de la Ventana Modal"
PLG_CONTENT_PHOCAMAPS_MODAL_BOX BORDER_WIDTH_DESC="Asignar Ancho del Borde de la Ventana Modal"
PLG_CONTENT_PHOCAMAPS_PLUGIN_REQUIRE_COMPONENT="Phoca Maps Plugin requiere Phoca Maps Component"
PLG_CONTENT_PHOCAMAPS_PLUGIN_ERROR="Error en el Plugin"
PLG_CONTENT_PHOCAMAPS_MAP_NOT_EXISTS="El Mapa no existe o no esta publicado"
COM_PHOCAMAPS_GOOGLE_MAPS_ERROR_FRONT="Google Maps Error - Comprueba los valores de latitud y longitud en la ventana de Configuración del Mapa"
PLG_CONTENT_PHOCAMAPS_LINK_TO_MAP="Link al Mapa"
PLG_CONTENT_PHOCAMAPS_TO="Hasta "
PLG_CONTENT_PHOCAMAPS_FROM_ADDRESS="Desde "
PLG_CONTENT_PHOCAMAPS_GET_ROUTE="Calcular Ruta"
PLG_CONTENT_PHOCAMAPS_GPS="GPS"

Best regards

Re: Phoca maps plugin language

Posted: 21 Sep 2012, 09:10
by Jan
Hi, thank you very much for the file. Can you ZIP it and send me it to my email. Thank you very much. Jan