vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Display Enhancements - vB Enterprise Translator (https://vborg.vbsupport.ru/showthread.php?t=220886)

jaryx 08-29-2009 04:21 PM

Quote:

Originally Posted by NLP-er (Post 1876367)
Added in TODO list :D
But I think that it will be better and faster to use browser language settings instead of IP. Browsers send in heades language preferences :)

Or announcements/pop-up with ask for change to preferred browser language.
People like to have free choice :)

imported_silkroad 08-29-2009 04:41 PM

Quote:

Originally Posted by NLP-er (Post 1876367)
Added in TODO list :D
But I think that it will be better and faster to use browser language settings instead of IP. Browsers send in heades language preferences :)

Not always.

We read the log files :D

imported_silkroad 08-29-2009 04:43 PM

Quote:

Originally Posted by jaryx (Post 1876437)
Or announcements/pop-up with ask for change to preferred browser language.
People like to have free choice :)

That is why is an "an option" it is up to the forum admin to configure their forum how they like :D

Maybe people don't like pop-us and find them annoying.... that is why there are options :D

NLP-er 08-29-2009 05:14 PM

Quote:

Originally Posted by imported_silkroad (Post 1876273)
Hey NLP-er,

Here is another thing for your "TODO" list :D

It is pretty easy to integrate Geotargeting by GeoIP into vBulletin.

Basically, you can have an option that when a user visits from a country, say Japan, the page is automatically redirected. For example, search referral visits from Spain, Spanish page is shown etc.

There is an old, unsupported vB mod that, with a minimal amount of work, can easily be integrated with this mod, and they fit together very nicely too :D

https://vborg.vbsupport.ru/showthread.php?p=1532639

I already implemented this, but before testing I had to stop. How exactly it should work to still allow users change languages? If I force redirection then user will not be able to see other languages if he want. Also what with spiders - does spiders are using language headers?...

Just forcing redirection is weak strategy. User will use flag and will be redirected back to his browser settings...

NLP-er 08-29-2009 05:30 PM

Quote:

Originally Posted by imported_silkroad (Post 1876449)
Not always.

We read the log files :D

What log files have common with that? How it could be used to determine user language and how possibly it can be faster than just check of $_SERVER["HTTP_ACCEPT_LANGUAGE"] with simple parsing?

NLP-er 08-29-2009 05:32 PM

Quote:

Originally Posted by jaryx (Post 1876437)
Or announcements/pop-up with ask for change to preferred browser language.
People like to have free choice :)

Good idea :)

imported_silkroad 08-29-2009 05:44 PM

Quote:

Originally Posted by NLP-er (Post 1876459)
I already implemented this, but before testing I had to stop. How exactly it should work to still allow users change languages? If I force redirection then user will not be able to see other languages if he want. Also what with spiders - does spiders are using language headers?...

Just forcing redirection is weak strategy. User will use flag and will be redirected back to his browser settings...

Hey! I agree there are numerous issues and it can be complicated, maybe too complicated?

So, maybe it is too complicated to think of all the options and catch all the exceptions at this time?

I need to think about this more, since it is more complicated than first meets the eye D

Maybe useful for serving ads or other widgets in context, etc, but more difficult for page translations?

imported_silkroad 08-29-2009 05:46 PM

Quote:

Originally Posted by NLP-er (Post 1876466)
What log files have common with that? How it could be used to determine user language and how possibly it can be faster than just check of $_SERVER["HTTP_ACCEPT_LANGUAGE"] with simple parsing?

Let me think about this... .thanks.

yahoooh 08-29-2009 09:37 PM

i still need to make the links :URL's according to SEO link consensus (i.e. '/en/address')

for vba links , vbgallery and other addon that in subdomain

plz nlp try to test them in subdomain and see how it works
vba links and dyna have .htacssess and seo
so they need some test

NLP-er 08-29-2009 11:45 PM

Quote:

Originally Posted by imported_silkroad (Post 1876450)
That is why is an "an option" it is up to the forum admin to configure their forum how they like :D

Maybe people don't like pop-us and find them annoying.... that is why there are options :D

Also good point. I will made it fully configurable. Off, forced, and with asking. Also it will work only for first request in session - so user will be able to go wherever he wants and change language, even if he has forced redirection at first.


All times are GMT. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02196 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete