How to Translate Poll Results
Moderator: General Support Moderators
-
- Joomla! Apprentice
- Posts: 11
- Joined: Thu Jun 17, 2010 4:21 am
How to Translate Poll Results
Hello,
I'm wondering if there is a way to translate certain words that appear on the results page of a poll. The site is http://www.coronacapitalgroup.com if someone would like to see. Poll is on right side. I'm attaching a screen shot as well of the words I'd like to be able to translate if possible.
Thanks so much.
Trevor
I'm wondering if there is a way to translate certain words that appear on the results page of a poll. The site is http://www.coronacapitalgroup.com if someone would like to see. Poll is on right side. I'm attaching a screen shot as well of the words I'd like to be able to translate if possible.
Thanks so much.
Trevor
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Enthusiast
- Posts: 240
- Joined: Wed Jan 07, 2009 8:17 pm
- Location: New York City
Re: How to Translate Poll Results
a lot of those can be found in the poll language file.
/language/xx-xx/xx-xx.com_poll.ini
based on what language files you are using you would replace the "xx-xx" (example:en-GB).
/language/xx-xx/xx-xx.com_poll.ini
based on what language files you are using you would replace the "xx-xx" (example:en-GB).
A clever person solves a problem. A wise person avoids it.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Thu Jun 17, 2010 4:21 am
Re: How to Translate Poll Results
Hi NyHick,
Thanks for such a quick response. I see that file but it's already in Spanish as follows:
# version 1.5.9 2008-08-24 23:02:17 ~0
# Joomla! Project - Spanish Frontend Language file.
# copyright Copyright(C) 2005 - 2009 TodosJuntos.org. All rights reserved - Todos los derechos reservados.
# license/licencia http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, ver LICENSE.php
# Translation/Traducción: http://www.TodosJuntos.org Equipo de traducción de la comunidad hispana de Joomla!
# Todos los archivos ini deben ser guardados como UTF-8 sin BOM - All ini files must be saved as UTF-8 NO BOM
CONTINUE=Continuar
COOKIES MUST BE ENABLED!=¡Las cookies deben estar habilitadas!
FIRST VOTE=Primer voto
LAST VOTE=Último voto
NUMBER OF VOTERS=Cantidad de votantes
SELECT POLL=Seleccione una encuesta
SELECT POLL FROM THE LIST=Seleccione una encuesta de la lista
THANKS FOR YOUR VOTE!=¡Gracias por su voto!
THERE ARE NO RESULTS FOR THIS POLL.=No hay resultados disponibles para esta encuesta.
WARNSELECT=No ha seleccionado una opción. Por favor, inténtelo de nuevo
YOU ALREADY VOTED FOR THIS POLL TODAY!=¡Ya votó en esta encuesta hoy!
YOUR POLL MUST CONTAIN A TITLE.=Su encuesta debe tener un título.
YOUR POLL MUST HAVE A NON-ZERO LAG TIME.=El tiempo mínimo entre votos no puede ser igual a cero (0)
But it only displays in English for some reason.
Trevor
Thanks for such a quick response. I see that file but it's already in Spanish as follows:
# version 1.5.9 2008-08-24 23:02:17 ~0
# Joomla! Project - Spanish Frontend Language file.
# copyright Copyright(C) 2005 - 2009 TodosJuntos.org. All rights reserved - Todos los derechos reservados.
# license/licencia http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, ver LICENSE.php
# Translation/Traducción: http://www.TodosJuntos.org Equipo de traducción de la comunidad hispana de Joomla!
# Todos los archivos ini deben ser guardados como UTF-8 sin BOM - All ini files must be saved as UTF-8 NO BOM
CONTINUE=Continuar
COOKIES MUST BE ENABLED!=¡Las cookies deben estar habilitadas!
FIRST VOTE=Primer voto
LAST VOTE=Último voto
NUMBER OF VOTERS=Cantidad de votantes
SELECT POLL=Seleccione una encuesta
SELECT POLL FROM THE LIST=Seleccione una encuesta de la lista
THANKS FOR YOUR VOTE!=¡Gracias por su voto!
THERE ARE NO RESULTS FOR THIS POLL.=No hay resultados disponibles para esta encuesta.
WARNSELECT=No ha seleccionado una opción. Por favor, inténtelo de nuevo
YOU ALREADY VOTED FOR THIS POLL TODAY!=¡Ya votó en esta encuesta hoy!
YOUR POLL MUST CONTAIN A TITLE.=Su encuesta debe tener un título.
YOUR POLL MUST HAVE A NON-ZERO LAG TIME.=El tiempo mínimo entre votos no puede ser igual a cero (0)
But it only displays in English for some reason.
Trevor
-
- Joomla! Enthusiast
- Posts: 240
- Joined: Wed Jan 07, 2009 8:17 pm
- Location: New York City
Re: How to Translate Poll Results
Check the mod_poll.ini file in the same directory and 1) make sure it exists and 2) is translated.
A clever person solves a problem. A wise person avoids it.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Thu Jun 17, 2010 4:21 am
Re: How to Translate Poll Results
Thanks again. I checked and yes it exists and yes it's in Spanish but site still displaying those items I circled in English even though the rest of the site translates fine.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Thu Jun 17, 2010 4:21 am
Re: How to Translate Poll Results
Fyi, the Spanish language file seemed to load. Perhaps it was a cache issue, however there are still 3 language strings that won't translate which are "Hits, Percent and Graph" as circled in the screen shot. Those still don't translate.
I found a topic that is related posted about Beez template. I'm not using Beez template but maybe this will work?
http://joomlacode.org/gf/project/joomla ... m_id=16820
I found a topic that is related posted about Beez template. I'm not using Beez template but maybe this will work?
http://joomlacode.org/gf/project/joomla ... m_id=16820
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sun Dec 09, 2007 10:06 pm
- Location: Istanbul / Turkey
Re: How to Translate Poll Results
Nope, it is not Spanish only. The following words are also not in Turkish language file tr-TR.com_poll.ini:
Hits
Percent
Graph
I looked for the following but could not find anything:
* No JText calls in any files
* No hard-coded strings in any files
* No data in database tables
* BTW: The English language file does not contain these, so thay must come from somewhere else. There are shown with "??" in language debug.
Very interesting !
Hits
Percent
Graph
I looked for the following but could not find anything:
* No JText calls in any files
* No hard-coded strings in any files
* No data in database tables
* BTW: The English language file does not contain these, so thay must come from somewhere else. There are shown with "??" in language debug.
Very interesting !
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Sep 02, 2011 11:43 am
Re: How to Translate Poll Results
SOLUTION:
Open Your language ini file from /language/xx-XX/xx-XX.ini and add
HITS=Your translation
PERCENT=Your translation
GRAPH=Your translation
at the end of file and save and upload edited xx-XX.ini file to server
It's all
Open Your language ini file from /language/xx-XX/xx-XX.ini and add
HITS=Your translation
PERCENT=Your translation
GRAPH=Your translation
at the end of file and save and upload edited xx-XX.ini file to server
It's all
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Apr 03, 2012 5:42 am
Re: How to Translate Poll Results
and save with UTF8+BOM (use Notepade++ )
.
.
Last edited by imanickam on Tue Apr 03, 2012 6:19 am, edited 1 time in total.
Reason: Manual Signature Removed.
Reason: Manual Signature Removed.
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sun Dec 09, 2007 10:06 pm
- Location: Istanbul / Turkey
Re: How to Translate Poll Results
With the newer Joomla! versions use the language override files for similar purposes. The method described above will be vulnerable when Joomla (and language files) get updated.yakusa wrote:SOLUTION:
Open Your language ini file from /language/xx-XX/xx-XX.ini and add
HITS=Your translation
PERCENT=Your translation
GRAPH=Your translation
at the end of file and save and upload edited xx-XX.ini file to server
It's all
PS: I didn't use default poll on later Joomla! versions, so I don't know if the problem persists there.