Complete newbie, translation of a few terms missing?
Complete newbie, translation of a few terms missing?
Hi,
I am a complete newbie to CMSMS, installed my first one a couple of hours ago. I am using the MLE. In the two additional languages I have installed (Spanish and Swedish), a couple of standard terms are not translated; breadcrumb "You are here" and page "Next Page" and "Previous Page", or they are hardcoded instead of a variable. How do I find / change / debug this?
Thanks in advance
I am a complete newbie to CMSMS, installed my first one a couple of hours ago. I am using the MLE. In the two additional languages I have installed (Spanish and Swedish), a couple of standard terms are not translated; breadcrumb "You are here" and page "Next Page" and "Previous Page", or they are hardcoded instead of a variable. How do I find / change / debug this?
Thanks in advance
Re: Complete newbie, translation of a few terms missing?
they are hardcoded in your template.... see the comments there
ReneH
A search will save you hours waiting for an answer!
A search will save you hours waiting for an answer!
Re: Complete newbie, translation of a few terms missing?
Thanks, found it but no comments in the template.
So I should add a variable there and something in the text files? Some explicit advice please?!
Same thing applies for the "News" title and a few others...
So I should add a variable there and something in the text files? Some explicit advice please?!
Same thing applies for the "News" title and a few others...
Re: Complete newbie, translation of a few terms missing?
Check the template again....
There is a News in the sidebar-area. That is the coded string for News.... Rename that to whatever you want.
In the relational-links area, below the {content} call, there is the prev/next set, where one has a fixed label. Without the specific label, your frontend language label from translations is used.
Check for "Relational" and you will find the position, also the comment about this is there
Ronny
There is a News in the sidebar-area. That is the coded string for News.... Rename that to whatever you want.
In the relational-links area, below the {content} call, there is the prev/next set, where one has a fixed label. Without the specific label, your frontend language label from translations is used.
Check for "Relational" and you will find the position, also the comment about this is there
Ronny
Re: Complete newbie, translation of a few terms missing?
While poking around with this, (editing the template) the site went down.
Now the admin page has no template / stylesheet abd the front is completely down...
Re-installing is not a big deal but I'd like to know why / how / what can be done.....
Any ideas?
Now the admin page has no template / stylesheet abd the front is completely down...
Re-installing is not a big deal but I'd like to know why / how / what can be done.....
Any ideas?
Re: Complete newbie, translation of a few terms missing?
Things I tried that did not help.
- Clear the web cashe files
- Swap tp other (unused/unedited) templates
- Swapped to other browser
- Restart web server
The only page that looks OK is the admin login page.
- Clear the web cashe files
- Swap tp other (unused/unedited) templates
- Swapped to other browser
- Restart web server
The only page that looks OK is the admin login page.
Re: Complete newbie, translation of a few terms missing?
That depends on what you were poking into. If you poked into files, then you can overwrite the files by FTP. If it was template, you can import the template again. PM someone a link - picture is worth a thousand words. Also try selecting another template/stylesheet set for all of your pages.
Re: Complete newbie, translation of a few terms missing?
Where have you been changing stuff?
In Layout -> Templates? As modifications there shouldnt break the backend...
And for the translations, what did you change to the 2 mentioned lines? As those were labels, not logic, so nothing could break by doing so....
Ronny
In Layout -> Templates? As modifications there shouldnt break the backend...
And for the translations, what did you change to the 2 mentioned lines? As those were labels, not logic, so nothing could break by doing so....
Ronny
Re: Complete newbie, translation of a few terms missing?
I was editing layout => Templates, The problem was most likely not related. I tried switching to other unused templates but that did not help. I ened up re-installing all the files on the same database table and it's OK now.
I forgot to mention before, I am a php newbie as welll, so I'd reallly appreciate some direct / explicit advice on what the changes should look like.
I can find the strings I want to change in the templates.
- what should the template changes look like? (yes total newbie )
- where do I find the translations? Which files? Are there already string variables defined for these texts or do I need to create them?
Otherwise, the multilanguage support is really brilliant and simple! I have been looking for something like this for a long time!
I forgot to mention before, I am a php newbie as welll, so I'd reallly appreciate some direct / explicit advice on what the changes should look like.
I can find the strings I want to change in the templates.
- what should the template changes look like? (yes total newbie )
- where do I find the translations? Which files? Are there already string variables defined for these texts or do I need to create them?
Otherwise, the multilanguage support is really brilliant and simple! I have been looking for something like this for a long time!
Re: Complete newbie, translation of a few terms missing?
Oh, how about this;
- I add a new variable to the language file (under news)
In the template I change
But this returns nothing....
So what am I doing wrong?
Is there a tag for text variables?
- I add a new variable to the language file (under news)
Code: Select all
$lang['news_title']='News';
Code: Select all
<h2>News</h2>
Code: Select all
<?php
print ($lang['news_title']) ;
?>
So what am I doing wrong?
Is there a tag for text variables?
Re: Complete newbie, translation of a few terms missing?
When you change that toNews
then the head should state "Nieuws" above the entries instead of "News".... When you want non-hardcoded labels changed to another language, then you should set your frontend-language. That will show all translatable labels, as translated....Nieuws
Or else, could you post a screenshot of what you see, and what label should have another language?
Ronny
Re: Complete newbie, translation of a few terms missing?
I have a site with three languages. The content in three languages works fine, including different news in each languages, different links etc.
A test site is here; www.itsdot.com
It will move to the right domain when ready.
I was assuming I should replace the hardcoded texts with a variable, with a text value depending on the selected language. But you suggest I use a template per language instead, and change the texts in each template? Correct? I think I would prefer using one template, if that approach is feasable.
A test site is here; www.itsdot.com
It will move to the right domain when ready.
I was assuming I should replace the hardcoded texts with a variable, with a text value depending on the selected language. But you suggest I use a template per language instead, and change the texts in each template? Correct? I think I would prefer using one template, if that approach is feasable.
Re: Complete newbie, translation of a few terms missing?
There is some post about using the {$lang} variable in this MLE thread...
Re: Complete newbie, translation of a few terms missing?
Solved
I volonteer to write a 1.6.6 MLE newbie manual for cmsms-dummies if one of you oldies could double-check it?
I volonteer to write a 1.6.6 MLE newbie manual for cmsms-dummies if one of you oldies could double-check it?
Re: Complete newbie, translation of a few terms missing?
I cant read that, as I dont do anything with MLE.... I missed that line in the original post and was answering CORE... So I pass for MLE
Ronny
Ronny