Hi have got a problem with the language setup. In the config I disabled German for the main language and deactivated alle the others. But in google the title is listed in English, how can I fix that?
Could you please post a link to the gallery and the link to the search results showing the listing?
If you want your gallery to be in German only, delete all files from the lang folder but german.php
Really delete every language? But I adjusted "no english when german text is somewhere missing" in the config, is that not ok?
Do you have links to the other languages? This happened to me when I was using the flag feature to point to different languages. I switched to the drop down method and now things are fine.
Because of my problem, I switched all other languages off.
For example look here: http://209.85.135.104/search?q=cache:rSi9ByCtzCIJ:www.bollybilder.de/+bollywood+bilder&hl=de&ct=clnk&cd=32&gl=de&lr=lang_de
Menue is in English, why?
When I view the live version, it shows english to me, too. Make sure that you're setting the language in the admin panel, and not just on the gallery, which only changes it for you.
Didnt even know there is ja setting for gallery language. I adjusted it in the admin panel but how can you see English in the live version? Do you mean the link www.bollybilder.de? Is it really English? If yes, can you send me please a screen?
So should I just delete all the languages?! If I do that, sure there will be text displayed (German)?
Even after you changed the setting, I still see English. I deleted the domain cookies to make sure. It might also be because I have an English browser... CPG might be auto-detecting.
Yes this was also my thought. I deleted English files, can you please once again?! ^^
Now I get a blank white page. :(
OK thats not good ^^ Correct again?
It's back up, and still in English.
Yes, the google bot might "speak" English, so he'll "see" your menu items in English. You better read up how languages work in Coppermine: http://documentation.coppermine-gallery.net/languages.htm#how and http://coppermine-gallery.net/demo/cpg14x/custom_language.php
Don't look at pages from the google cache - look at live-pages instead (http://www.google.com/search?q=site%3Abollybilder.de, see attached screenshot, taken from a PC with German OS and German browser preferences).
I'm serious: delete all language files from the lang folder except german.php. In your case, this seems to be the ideal solution.
But we already have tested it yesterday. I deleted all files except german and then the user saw blank page!
Custom language settings get saved in a cookie. If you now delete certain languages and a user has set one of these as a custom language (with the lang selector), cpg still tries (cause of the cookie) to load it and fails.
Clear your cookies or change the cookie name in config (all your users get assigned a new cookie without custom lang settings)
My project is new and we just talk about the searchengines!
Stramm's suggestion applies anyway: you'll have to delete your local cookie if you have issues with blank pages. Search engine spiders are not impacted by cookies - they don't take them into account. However, all changes you make will of course not have an immediate impact on the database of search engines, but will change only after the search engine spiders have re-visited your site.
Your reply
Quote from: andyleery on June 26, 2007, 08:16:02 PMMy project is new and we just talk about the searchengines!
just is irrelevant and confrontational. Just two postings above you complained about the
user seeing a blank page, so it was
you who started discussing user issues instead of search engine issues. If you don't want our advice, just stop posting here.
Stay cool GauGaum, with "user" was ment a user here in the forum, which helped me testing! So we just talk about the search engines! Please read corretly and dont shout always ;D
I will try your option, if there will be problems, I just will restore the files, thx for your help guys!
One last question. No that I deleted the English file, I get blank emails from the System because of the missing English text. How can I change the language for the email notification?
I deleted my cookies for the domain and it shows up as blank. Did you happen to edit either your english.php or german.php file(s)?
I asked about the email which is blank, not the website. It seems that "not german users" have blank pages, cant do anything about it. I just renamed the coockiename, maybe it works no?
1- set your default language to german
config=>Language & Charset settings=>Language=> german
2-set the Fallback to English to No
config=>Language & Charset settings=>Fallback to English if translated phrase not found?=> No
3- set Display language list to no
config=>Language & Charset settings=>Display language list=> No
4- set Display language flags to no
config=>Language & Charset settings=>Display language flags=> No
5- Delete all language file except german.php
6- rename your cookie name or tell everyone to clear their browsers cookie
THX but all that things I already did.
With what result for the (human) client? I changed my browser's default language to english and tried accessing your site, which worked fine. What's your actual issue? As suggested, it will take some time untill the search engine spiders react and your pages will be crwaled in German only.
Yes I have to wait for the spider. The only thing now is, that some people here tell me that they get a blank page?!
Count me in , I got blank page too !
with german language it's ok but when I clear my cookie it will display blank page !!!
I think there was a problem with his files (file corruption)
Can't replicate either. http://www.bollybilder.de/?lang=english works fine - I get the page in german. Even with a PC with English Windows and user preferences set to English I get to see the page just fine.
@Sami: does this still happen for you, or do you now see the page OK even with your cookies deleted?
I also changed the coockiename, it must go!
No I still get blank page !!!
tried it with:
- IE with ?lang=english and without
- FF with ?lang=english and without
both are blank !
OK, let's do it the brute-force way then: andy, edit include/init.inc.php, find// We load the chosen language file
require "lang/{$CONFIG['lang']}.php";
and replace with// We load the German language file no matter what
require "lang/german.php";
This should force German no matter what.
Ok I have edited it, is it now ok or still blank?
[Little bit OT]
There's also the possibility to disable the auto detection... that's the somehow softer method and it would be possible to keep all lang files on the server (users can still use the lang selector -> if admin enables that option)
http://forum.coppermine-gallery.net/index.php?topic=30686.msg142274#msg142274
[/Little bit OT]
Thx for that option but I dont need any other language, only German.
Ok now it's working fine :)
Same here. :)
Great, finally it works^^, now I just wait for the engines. THX to you all for helping me.