|
#1

Jan 12, 2013, 05:17 AM
|
|
Hi, this is my last post for today.
I have so far been able to adjust and costumize the theme well, but I could't change the text on the not-found-page.
I put in new text where the English sentences were in the editor > not_found.php, but it doesn't show on the site (not even after refreshing). Any idea?
Thanks a lot in advance,
Ilke
|
#2

Jan 12, 2013, 05:53 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
That text can be changed in the language PO files
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Jan 12, 2013 at 05:55 AM.
|
#3

Jan 12, 2013, 08:08 AM
|
|
Oh, I could have looked more thoroughly. Well, the title changed, but not the message.
I'll try further, thanks already.
|
#4

Jan 12, 2013, 08:50 AM
|
 |
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
That text is in the template_tags.php file
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#5

Jan 13, 2013, 04:25 AM
|
|
Wonderful, thank you! That was easy.
I just have to love this forum!
|
#6

Jan 13, 2013, 04:48 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
when translating the text, you really should use the montezuma.pot file instead of changing the actual theme code. That's why the POT is provided.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7

Jan 13, 2013, 06:34 AM
|
|
I had done that, but without any effect.
It is quite confusing. In the Montezuma Options there is an option to change the comments title, but that had no effect either. I was able to adjust that via the comments_form.php.
And then there is the montezuma.pot and the template_tags.php that all seem to provide options to change the text / language.
Is there any hierarchy, or how do I know which one to edit? So far I simply went by what worked.
Ilke
|
#8

Jan 13, 2013, 09:27 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
If you are going to use the po file, you need to read about translating wordpress into your language at wordpress.org for explanations better that I could provide you
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9

Jan 15, 2013, 01:10 AM
|
|
I am running the German WP, but the default text in Montezuma is English. And all translations have been done, so it's fine.
|
#10

Jan 15, 2013, 01:50 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
You are correct, Montezuma defaults to English so if you want to use it in another language you have to do the translation. This is true for many themes. If you have created a po file for German please post it for others to use also.
The 'next' ansd'previous' should get translated (according to my understanding) since they are output tend by some of the base WP code.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
|