Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Support for multilanguage sites, Internationalization (I18N)
Hey guys,

I have a problem with switching the language.
The tags at the end of the url simply seem to get dropped and the developer console in Firefox says there is a 302: temporarily moved error and it simply loads the same page again.

I use /parent/slug/ url-structure and
Code:
<?php echo htmlspecialchars(return_i18n_lang_url('de')); ?>
to get the url to the other language.
Neither this, nor manually entering ?lang=en or ?setlang=en work.

I moved the files from a localhost Apache to a subdirectory on the webserver today. It worked just fine in the localhost implementation. And yes, I did put in the new base url in the admin settings. Or do I need to run the entire setup process again on the webserver and copy my templates over?

Edit: Using /slug_en/ at the end works, but is lost as soon as I load another page..
Edit2: I tried to use the search function with "302 moved" which returned nothing, and honestly I wasn't keen on reading 30 pages, so apologies if this has been asked before. (:

best regards,
Anton

EDIT:

Okay, well, maybe this post was a bit prematurely.
I just ran the setup on a fresh directory/subdomain, copied my template folder and now the language switching seems to work..
Still, what settings might prevent the old instance from working properly?
Reply


Messages In This Thread
rewrite language problem - by tomkop - 2013-03-27, 06:34:44
Enhancement suggestion - by hameau - 2013-05-12, 04:17:12
Enhancement request - by hameau - 2013-06-14, 20:02:07
RE: Enhancement request - by mvlcek - 2013-06-14, 22:04:12
RE: Enhancement request - by hameau - 2013-06-14, 23:01:36
Duplicate language cookies bug - by enzy - 2013-08-20, 07:03:26
RE: Duplicate language cookies bug - by ohayo - 2013-08-20, 18:12:25
Plugin is not shown - by tosho - 2013-09-15, 12:10:37
RE: Support for multilanguage sites, Internationalization (I18N) - by abaer - 2014-03-19, 18:03:30
1000 pages limit in i18n_navigation - by titus - 2014-10-13, 21:58:36
Bug found - by lbarsov - 2014-10-17, 03:41:53
Menu with picture - by Dimi - 2015-04-28, 16:05:45
Rendering Menu in Component - by Alexander_ - 2016-05-04, 23:06:51
Meta desc for different languages - by Alexander_ - 2017-02-14, 20:29:32
Hierarchical Menus - by celextel - 2019-07-26, 16:41:47
Ri18n_navigation - by celextel - 2021-02-19, 16:07:48



Users browsing this thread: 8 Guest(s)