I need help to translate 2 words.
MalastiC
Joined: 2007-03-21
Posts: 34 |
Posted: Fri, 2007-03-23 16:36 |
Good morning. I have two problems. First it is that the language is selected in Spanish, but sometimes when entering they leave some things to me in English. If I give F5 it changes of language selected mine. (My Web is http://www.fondosbuenos.com) The second problem is more serious. I must obligatorily change 2 words and not like doing it. I am usuary of Windows and I do not know anything Linux to be able to do it. I need to change the words of my Spanish in such a way that: If somebody the file by my can do me very it would be been thankful him.I leave an image so that it is seen. A greeting |
|
Posts: 25
hi,
I will make the po and mo files tomorrow, it's fast but i have no time for now.
Posts: 34
Thanks. I will be kind. Is working in my principal web http://www.malastic.com
A greeting,
Posts: 25
Download the attachment below.
Unzip it and upload the core folder into your module folder.
Posts: 34
Good morning from Spain. Thank you very much. Now it is working.
I have a small doubt or problem that not to be perhaps solved and you if who you know. When you enter the section (With the affluent text) they appear other galleries that I have this:
I suppose that it leaves with that text because it is established somewhere that both uses the same word in sides. you know that I must do for being able to cause that it uses another line of .mo? Could be solved with the traduction?
A greeting,
Posts: 25
Hi,
Right, you can't do it by translation. I think that the best way to do it is to add some code to check if the item contains only photos and so apply the good translation.
I used this code for similar customization :
{assign var="hasDataItems" value=0}
{foreach from=$theme.children item=child}
{if !$child.canContainChildren}
{assign var="hasDataItems" value=1}
{/if}
{/foreach}
And after ... {if ($hasDataItems == 1)} ... new traduction {/if}
Try this in ItemInfo.tpl, i've not check, i'm not sure but i think .