- Posts: 6
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- I am trying to translate the labels.txt to spanish but it is not taking áéíóú
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
I am trying to translate the labels.txt to spanish but it is not taking áéíóú
- carlos_sig
- Topic Author
- Offline
- New Member
So far after reading about the topic, I have copy, translate it and paste the ini file into the es_ES folder:
administrator/language/es-ES/es-ES.plg_content_jw_sigpro.ini
I beleive after doing this the plugin is generating the labels with the prefix es_ES:
www.miciudadweb.eu/pepemacias/images/stories/images/dormitorio_completo/galeria/es-ES.labels.txt
This file has been saved as UTF8 format using notepad.
I need to introduce this characters áéíóíú
I have an example for the picture inside the es-ES.labels.txt but when you go to the gallery is not getting the value and it leaves it empty.
www.miciudadweb.eu/pepemacias/component/content/article/19-dormitorio-completo
Could you please take a look and tell me what I am doing wrong?
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
á
Please Log in or Create an account to join the conversation.
- carlos_sig
- Topic Author
- Offline
- New Member
- Posts: 6
To make it easier I am using Dreamweaver.
I have introduced this meta tag in the header:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
I write what I need in Design Mode and this gets translated into the Code Mode
I copy and paste the code that I need into the Description of the es-ES.labels.txt file
Do I have any direct alternative to this?
For example I write this characters áéíóú ñ inside the es-ES.labels.txt file and they are recognized. Should it be working when the file is saved as UTF-8 Format?
Maybe using a xml file?
Please Log in or Create an account to join the conversation.
- Yiota
- Visitor
Please Log in or Create an account to join the conversation.
- carlos_sig
- Topic Author
- Offline
- New Member
- Posts: 6
So the idea so far it is working with the genius advice given but this is harder to proceed for the average user, in case that they wish to do it themself.
After reading your answers I though this is not working because of the hosting or because I am not saving in UTF-8 format correctly.
so I tried a better program, I tried using Edit Pro 7. This one allow you to save documents in many formats.
After saving it and uploading --> it works!!!
Only that the first picture does not show any label as you can see from the link:
www.miciudadweb.eu/pepemacias/component/content/article/19-dormitorio-completo
I am having the same problem than this person is mentioning:
forum.joomlaworks.net/simple-image-gallery-pro-%28plugin%29/use-caption-on-chinese-utf-8-labels-txt-but-first-image-caption-can%27t-show/
Then I though well the first picture it does not work for the gallery. I am going to try Notepad with a different file, meaning different gallery. I have not used Edit Pro 7 on this file, so I opened modified the second picture of the gallery and saved it as UTF-8.
I checked and it works!!!.
I am using NotedPad under Windows 7
This is the link:
www.miciudadweb.eu/pepemacias/component/content/article/21-canapes
Conclusion: The file is being saved as UTF-8 correctly (I can use Notepad which everybody has), the hosting is not a problem.
The gallery is not reading the label of the first picture.
Could you take a look and let us know if this is a bug from the software or it is something we can do on our side?
Thank you
Please Log in or Create an account to join the conversation.
- carlos_sig
- Topic Author
- Offline
- New Member
- Posts: 6
Go the label.txt file you are using for your gallery
Go to the beginning of the file, and add an empty line by hitting enter which will create an invisible end of line, the code thinks its reading the second picture and starts to work.
so it will look like this, this is quick example:
Begining of label.txt
File_name01.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name02.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name03.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name04.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name05.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
End of label.txt
Goto Notepad.exe (under Windows) and remember -> Save as UTF-8 Format
I guess this will fix it in future upgrades.
I will be happy to see that this tip fix somebody´s problem so write a quick comment ;)
Please Log in or Create an account to join the conversation.
- badstue
- Offline
- New Member
- Posts: 1
So far I have found a quick solution for the first picture of the gallery.
Go the label.txt file you are using for your gallery
Go to the beginning of the file, and add an empty line by hitting enter which will create an invisible end of line, the code thinks its reading the second picture and starts to work.
so it will look like this, this is quick example:
Begining of label.txt
File_name01.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name02.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name03.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name04.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
File_name05.jpg|Title|<b>Descripción</b>
You can use áéíóúñ
End of label.txt
Goto Notepad.exe (under Windows) and remember -> Save as UTF-8 Format
I guess this will fix it in future upgrades.
I will be happy to see that this tip fix somebody´s problem so write a quick comment ;)
THANK YOU ALOT! :-)
Great research and work.
Works perfectly for my lang too.
Please Log in or Create an account to join the conversation.
- meowi
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- I am trying to translate the labels.txt to spanish but it is not taking áéíóú