vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - vB Enterprise Translator (https://vborg.vbsupport.ru/showthread.php?t=232456)

NLP-er 01-06-2010 10:00 PM

vB Enterprise Translator
 
1 Attachment(s)
2.4.10 RELEASED - TRANSLATIONS NEVER WERE SO FAST!!!

This is version for vBulletin 4.x of this great mod - which wins MOM :D
If updating from vBET 2.3.x version - need to uninstall it first.

This mod translates your forum using FREE translations for over 30 languages from Yandex API. It is 100% FREE in version described here (2.x).
Note: using this mod (vBET 2.x) is free and bound by license agreement (see below) :)

Yandex translation gives you 1 000 000 FREE characters per DAY to translate. Please note that Yandex do not supports all language pairs, but vBET detects automatically which are supported for your forum language.

vBET 3.x released!
Please note that vBET 3.x is developed as separate product line and it is available here: vBET 3.x. Full version is paid, it supports 53 languages each to each translation, using: Google, Microsoft, Apertium, Yandex, SDL BeGlobal and DetectLanguage. It has lot of optimizations for booth performance and translations costs.

LIVE DEMO - note that demo shows functionality of full version (3.x/4.x), which has more features than 2.x
See also screen shots below, for configuration options :)

Features:
- Translation by Yandex (in PRO version supports 53 languages using several translation providers)
- Optimized cache, algorhitms and more performance options - PRO version only
- Translates URLs and RSS - PRO version only
- Supports multi language communities (allows to write in different languages) - PRO version only
- Links appropriate for SEO consensus (configurable) - even without any SEO mod
- Long texts are translated no matter how big those are
- Translation cache (after first translation results are cached and next page generation is much faster)
- Doesn't translate BB codes for code, php and html (must refresh post cache to see effect on existing posts Admin CP -> Maintenance -> Update Counters -> Rebuild Post Cache)
- Easy installation - just upload files and import product file
- Highly configurable and easy configuration - by Admin CP (see screenschots)
- Configurable place for flags - simply select in options where you want to have translation flags. NO MANUAL TEMPLATE MODIFICATION. Supported: Footer-Bottom, Footer-Top, Navbar-Bottom, Navbar-Top, Custom
- Possible custom place for flags - in such case just edit template which you want and add $vbenterprisetranslatorflags
- Translates also archive pages
- Reverse page direction for Arabic, Hebrew and Persian languages
- Not translated save areas - if you need something to be not translated simply edit appropriate template and put it between
<!--START vBET NOT TRANSLATED AREA--> and <!--END vBET NOT TRANSLATED AREA--> (note: you cannot use any mod which removes comments to use this functionality)

Installation:
1. Download zip package (last release - see index at the end of file name)
2. Upload to your forum directory on server everything inside upload directory
3. Import in vB Admin CP -> Plugins & Products -> Manage Products -> Add/Import Product -> Choose product file, set Allow Overwrite to yes and click Import
4. Click here: "Mark as Installed" :D Thanks!
5. Configure in AdminCP -> vBulletin Options -> vBulletin Options -> vB Enterprise Translator
You MUST configure at least Forum language and Yandex Translation API key. NOTE that there are some other important options - especially if your forum is in subdirectory or if you use vbSEO.

For MORE INFO and troubleshooting please read first post :) There is FAQ. So save your time for writing questions which are already answered and get your solution faster :)

Known issues:
- link for page on which you are doesn't track translation, cause it has same URL as flag for forum default language

ENJOY! :D:up:

And thanks for nominations ;)

Already donated (great thanks:):up:):
PossumX, adwade, roymogg, zipperty, CoZmicShReddeR, RedHacker, john devost, mandingo, chris, smnoel, Audax666, Damas, TurkeySub, nectons, Scalemotorcars, TheWite, Cybershaolin, burlesque, Ransy72560, chick, jaryx, linuxututs, cormee, dai-kun x2 :):up:, imported_silkroad, Megatr0n, KrisP, CareyCrew, ghisirds, vitoreis, cyc, mosz, CThiessen, actolearn, jaconi, andie215, yahoooh, bollie

LICENSE AGREEMENT - using this mod you agree for those conditions:
- you are NOT allowed to remove credit link under any conditions
- removing credit link means BREAKING LICENSE AGREEMENT and you lose your rights to use this mod
- using it after that is illegal, it is software PIRACY and it will be notified in vBulletin community and other places, including appropriate government/police units in your country
- author of this mod reserves the right to change the terms of this license agreement at any time. Failure to receive notification of a change does not make those changes invalid. A current copy of this license is and will be available here.

Please note that in full vBET version there is possibility to buy branding free license. There is no such possibility in free version included here.

Version history:
2.4.10 Changes:
- Added missing function in 2.4.9
2.4.9 Changes:
- Removed usage of e modifier in preg_replace()
2.4.8 Changes:
- Fixed canonical links
- Fixed issue with SSL verification
2.4.7 Changes:
- Added 48 new languages pairs
- Updated link to Yandex in configuration
- When translation limit is reached now we show original text instead of empty message
2.4.6 Updated link to Yandex API key
2.4.5 Google changed to Yandex translations
2.4.4 Added "Affiliate Program" parameter
2.4.3 Serious bug with encoding corrected - this one was crashing some forums layouts
2.4.2 Tested with vB4.0.1 One new thing - added usercp to Google request according to changes in Google API. Few bugs corrected:
- No translation tracking for css.php
- Corrected bug for url tracking for forums in subdirectory and addresses having this subdirectory
- Resolved issue Call to undefined function vbet_getSupportedTranslations()
2.4.1 vBET integrated with vBSEO 3.5
2.4.0 vBET ready for vBulletin 4.0 :) Beta release - not tested with vBSEO3.5 yet.
2.3.x and earlier releases history you will find here: vBET 2.3.x for vBulletin 3.8

NLP-er 01-07-2010 01:54 PM

This is FAQ :)
Questions:
What is required for this mod to work?
After translation I get blank page - what is wrong?
After translation all text disappear - what is wrong?
I have SEO translation links on, I use vBSEO and main page is not translating - what is wrong?
What to do, to have translations links good for SEO consensus?
I have indexed pages from old translator (with hl=) - what to do?
I have indexed pages from old links type (with language=) and want switch to SEO links- what to do?
How do you get back to default language after you click a flag?
I have warnings in safe mode - what to do?
Can I add translated pages to sitemap?

Answers:
What is required for this mod to work?
- You must install it ;) and configure it appropriatelly (please read parameters descriptions carefully) :)
- You must have installed CURL in your php. Most servers already have it. Just install this mod and if it is not working then ask your server stuff to install CURL. In meantime you can disable mod or remove flags so users will not be affected. If you get blank page for translation pages (it will not affect your normal pages) it means that you don't have CURL installed - just install it :)
- You must have installed ICONV in your php. Most servers already have it. If not an error will occur or blank page for translations.

After translation I get blank page - what is wrong?
Just read answer for previous question :)

After translation all text disappear - what is wrong?
2 possibilities:
- You didn't fallow installation instructions. You MUST configure at least Forum language option and Yandex Translation API key. Just configure mod :)
- You set wrong Yandex API key - just set there appropriate value.

I have SEO translation links on, I use vBSEO and main page is not translating - what is wrong?
First, make sure that your .htaccess rules are OK - especially for forums with subdirectory in URL.

What to do, to have translations links good for SEO consensus?
You have to set appropriate option in Admin CP and change/create .htaccess file (NOTE: you can use SEO translation links even without vbSEO!)
for users without vbSEO
- If you don't have .htaccess file then use the one from do-not-upload directory in mod package - just upload it to your forum directory
- If you have .htaccess file, then add those lines there:
Code:

RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ index.php?language=$1 [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1 [L,QSA]

for vbSEO users
Edit .htaccess file:
Put those rules JUST BEFORE all rules to vbseo.php:
Code:

RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

Now - if your forum use subdirectory in URL, then change 2 first rules adding your forum directory with leading '/' just after redirected=. So i.e. if your forum is in forum directory then you will have redirected=/forum/ and redirected=/forum/$2

I have indexed pages from old translator (with hl=) - what to do?
Just set rewrite rule in .htaccess - Google will know that page have new place and will reindex it without any loss :)
Code:

RewriteCond %{QUERY_STRING} (hl=)(zh-TW|zh-CN|..)$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1\?language=%2 [L,R=301]

I have indexed pages from old links type (with language=) and want switch to SEO links- what to do?
First make SEO links available. After that add this rule to .htaccess (before SEO rules):
Code:

RewriteCond %{QUERY_STRING} (hl=|language=)(zh-TW|zh-CN|..)
RewriteRule ^(.*)$ http://%{HTTP_HOST}/%2/$1? [L,R=301]

Note that this rule will also handle redirections for links from old translator (with hl=)

How do you get back to default language after you click a flag?
If you have set tracking option on, then to go back to your default language you must just click flag for your default language :)

I have warnings in safe mode - what to do?
Just turn off save mode - it is DEPRECATED in php and not supported in future versions. See here for details:
http://us2.php.net/manual/en/ini.sec...#ini.safe-mode

Can I add translated pages to sitemap?
You can simply integrate vBET with vBSEO Sitemap Generator (it is free) to include links to translated pages into generated sitemap.

Please note that instructions below will allow you to add into your sitemap links for threads translated pages. Because of performance reason those links will not be translated - there will be only added language code. Google will find real page anyway since you will get 301 redirect. Please note that it is not best approach - Google prefers to have final links in sitemap not redirecting one, but forcing translation of thousands links in all languages in the same time could kill your server or be threated by Google as attack (if links are not cached yet).

If you have any PHP programming skills you can modify instructions below to support also other parts of sitemap - not only threads URLs. Solution below will add translated links only for first pages of threads.

Integration instructions:
You just have to edit one file: vbseo_sitemap_functions.php in vbseo_sitemap directory.

Find:
PHP Code:

vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior"); 

And place AFTER it...

For SEO links
PHP Code:

//additional code 
$alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi'); 
if(!
$archived) { 
  
$strlenhost strlen($vbseo_vars['bburl']."/"); 
  
$currentthreadurl vbseo_url_thread($threadrow1$archived);
  
$currentthreadurl_before substr($currentthreadurl,0,$strlenhost);
  
$currentthreadurl_after "/".substr($currentthreadurl,$strlenhost);
  
$lastpost =& $threadrow['lastpost'];
  
$vbseo_stat['t'] += sizeof($alanguages);
  foreach(
$alanguages as $language) { 
    
vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after$prior$lastpost$freq); 
  } 
}   
//end additional code 

NOTE: REMOVE YOUR DEFAULT LANGUAGE CODE and not supported languages codes from $alanguages
Also if you disabled some languages in option panel you have to delete its codes too.

For links with language=
PHP Code:

//additional code
$alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');
if(!
$archived) {
  
$currentthreadurl vbseo_url_thread($threadrow1$archived) . '&amp;language=';
  
$vbseo_stat['t'] += sizeof($alanguages);
  
$lastpost =& $threadrow['lastpost'];
  foreach(
$alanguages as $language) {
    
vbseo_add_url($currentthreadurl.$language$prior$lastpost$freq);
  } 
}  
//end additional code 

NOTE: REMOVE YOUR DEFAULT LANGUAGE CODE and not supported languages codes from $alanguages
Also if you disabled some languages in option panel you have to delete its codes too.

NOTE FOR SITEMAP INTEGRATION:
If you want to add to sitemap also links for other thread pages (if thread have several pages), then additional code must be added BEFORE:
PHP Code:

$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls

Also in additional code you have to change 1 to $p.


Piece of cake :)

Delilahs 01-07-2010 01:55 PM

Installed and working well, just waiting for VBSEO re-writes to be sorted out and I'll be a happy chappy. ;)

Michael, have you worked out how we can get the new urls mapped in the vbseo sitemap generator?

edit.

If people want to set the languages as a default, ie; /forum/country/forum.php

then put the following into your .htaccess file and select the "Create URL's according to SEO link consensus (i.e. '/en/address')" ooption in Translation links type.

please remember that if you use this mod that it is not yet compatible with vbseo3.5 at the moment, so vbseo would need to be disabled, although as that has bugs in it, so I personally have disabled it anyway.

PHP Code:

#rules for SEO translation links without vbSEO

RewriteEngine On

RewriteRule 
^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ index.php?language=$[L,QSA]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ $2?language=$[L,QSA]

#-------------------------------------------------------------
#RULES for SEO translation links with one of: Zounts SEO, C-Logic SEO, TfSEO 2 (have to be included before all rules for SEO mod)
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ index.php?language=$1 [QSA]
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ $2?language=$1 [QSA]


#-------------------------------------------------------------
#Rules for SEO translation links with vbSEO (have to be included before all rules to vbseo.php)
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/$2 [L,QSA]

#RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
#RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA] 


NLP-er 01-07-2010 01:59 PM

vBET 2.4.0 RELEASED

Very first version for vBulletin 4.0 ENJOY! :D

Also remember - if upgrading from vBET 2.3.x then have to uninstall it and then install vBET 2.4.0

NLP-er 01-07-2010 02:01 PM

Quote:

Originally Posted by Delilahs (Post 1949582)
Michael, have you worked out how we can get the new urls mapped in the vbseo sitemap generator?

Not at all. Added in TODO list.

NLP-er 01-07-2010 02:49 PM

vBET 2.4.0 translates archive pages with SEO option :) Just need to add one more rule :) See all 3 required rules in first post.

Kolbi 01-07-2010 02:55 PM

nice waiting for the paid version to be published for vb 4 :D

abdobasha2004 01-07-2010 05:26 PM

is this good for SEO?
is it considered duplicate content?

yahooooh 01-07-2010 06:32 PM

thank you very much

gyaronn 01-07-2010 06:48 PM

Thanks was waiting for this one :-)

Bouncer222 01-07-2010 07:38 PM

YOU ARE AMAZING AND FAST! I have waited for the vb4 version for a very long patient time! Thank you!

linuxututs 01-07-2010 07:57 PM

Thanks NLP-er,

I been keeping your homepage hot looking for this, but thought it'd be a month or two from now.
I been having thousands of errors in my webmasters tools since "having" to abandon this Great piece of code.

I'll be buying you a beer :cool: come Friday Mate. :)

Thanks a million,

Bouncer222 01-07-2010 08:14 PM

I translated it to chinese just to test it and on the footer and under it, it's spamming it with this stuff..

Quote:

<script type="text/javascript">
gcbos = new gcbos_engine();
YAHOO.util.Event.onDOMReady(gcbos.init, gcbos, gcbos);
</script>



<!-- /GCBOS -->



<div class="fullwidth">
<div class="cms_toolbar">
<form action="http://www.brotherhoodofgamers.com/content.php?1-the-front-page/addcontent" method="post" id="cms_add_form">

<a href="javascript:cmsAdd('18','contenttypeid','cms_ add_form')">
+
<span class="cms_content_selector">
创建新文章
</span>
</a>





</form>
and while posting this...

I noticed that it is repeating the whole page under the footer over and over again, I'm thinking it is my chatbox product that is causing this... so i will check. But any ideas for now?

NLP-er 01-07-2010 08:57 PM

Quote:

Originally Posted by abdobasha2004 (Post 1949763)
is this good for SEO?
is it considered duplicate content?

It is not duplicate content - the content is different, because it is translated. Also it is great for SEO when you set links in SEO mode :) Just see configuration :)

NLP-er 01-07-2010 09:00 PM

Quote:

Originally Posted by linuxututs (Post 1949908)
Thanks NLP-er,

I been keeping your homepage hot looking for this, but thought it'd be a month or two from now.
I been having thousands of errors in my webmasters tools since "having" to abandon this Great piece of code.

I'll be buying you a beer :cool: come Friday Mate. :)

Thanks a million,

Not sure do I understood - you have lot of errors with vBET:confused: Beer and thanks... Cool - but what with those errors? You have those or had those?

NLP-er 01-07-2010 09:02 PM

Quote:

Originally Posted by Bouncer222 (Post 1949923)
I translated it to chinese just to test it and on the footer and under it, it's spamming it with this stuff..



and while posting this...

I noticed that it is repeating the whole page under the footer over and over again, I'm thinking it is my chatbox product that is causing this... so i will check. But any ideas for now?

Please PM me details. I have to see it in whole. I need at start your forum URL with exact URL where you have this behavior.

NLP-er 01-07-2010 09:05 PM

Quote:

Originally Posted by Kolbi (Post 1949648)
nice waiting for the paid version to be published for vb 4 :D

It will be done :D Just not sure yet about release date - we had lot of feature requests lately and we are glad to give our customer what they want, so we have to close it first. Thanks that new functionalities will be available in booth paid versions for vB3 and vB4 :)

linuxututs 01-07-2010 09:10 PM

Quote:

Now - if your forum use subdirectory in URL, then change 2 first rules adding your forum directory with leading '/' just after redirected=. So i.e. if your forum is in forum directory then you will have redirected=/forum/index.php and redirected=/forum/$2
Ok, My forums in the root directory, but I do have vbSEO installed and I have it setup so it shows
Code:

http://www.linuxtuts.net/forum/
.

So does this rule still apply.( i.e. )
Quote:

Now - if your forum use subdirectory in URL
Thanks,

EDIT: Sorry, I had them after upgrading. The url's wasn't there anymore because the Mod wasn't.
P.S. About the beer; expecting some money come Friday.....:)

Charlie98902 01-07-2010 11:08 PM

I edited my forumhome template to not have the language drop down that isn't needed for this is it? The user just clicks the flag and translation begins right?

Delilahs 01-07-2010 11:12 PM

Charlie, that is correct mate, but hold fire as I know that NLP has got this working with VBSEO 3,5 (because I have)

and with the edits in the vbseo page as shown above for sitemap generator it now generates the sitemaps in 52 languages as I've just tried it on my forum. I do know that NLP will be releasing the latest version very shortly. ;)

linuxututs 01-08-2010 02:54 AM

Working fine on my site also with vbSEO installed.
Was lost there for a little bit because it wasn't showing up when I logged in.....duh
( Need to read everything ) I had it set that way, and didn't realize it.....lol

Working better than it was on vB 3.8.x site to I do believe.

Thanks,

UPDATE: Also checked my site on google. All the translate links are coming in now just like before! SUPER ( No more broken links ) :)

viganothing 01-08-2010 04:16 AM

Personaly i dont need it on my site , but i just have to say that this is a FREAKING AWSOME VB PLUGIN , i checked the Demo its unbelievable , Nominated for MOTM. Bravo NLP-er .

Every Peny,dollar,euro that goes for this product , is a good investment

KevinGupta 01-08-2010 06:30 AM

Great mod :) thanks buddy

NLP-er 01-08-2010 09:41 AM

Quote:

Originally Posted by linuxututs (Post 1949960)
Ok, My forums in the root directory, but I do have vbSEO installed and I have it setup so it shows
Code:

http://www.linuxtuts.net/forum/
.

So does this rule still apply.( i.e. )

Thanks,

EDIT: Sorry, I had them after upgrading. The url's wasn't there anymore because the Mod wasn't.
P.S. About the beer; expecting some money come Friday.....:)

Everything clear - you have vBSEO :D And as you can see at the beggining of mod description:
"This is beta version! It was not tested with vBSEO3.5 yet."

But be calm - 2.4.1 will support vBSEO3.5 and will be released in minutes :D

NLP-er 01-08-2010 09:43 AM

Quote:

Originally Posted by viganothing (Post 1950122)
Personaly i dont need it on my site , but i just have to say that this is a FREAKING AWSOME VB PLUGIN , i checked the Demo its unbelievable , Nominated for MOTM. Bravo NLP-er .

Every Peny,dollar,euro that goes for this product , is a good investment

Thanks. You can use this free version if you do not want to invest in paid one :) This one (free) is 100% functional in translations area - paid one is just better, faster and allows to write in different languages :D

Charlie98902 01-08-2010 09:44 AM

Thanks when I get the time later today or tomorrow I'll start getting this installed then. I don't use VBSEO.

NLP-er 01-08-2010 09:50 AM

2.4.1 RELEASED

This version supports vBSEO 3.5 so you do not need to update if you are not using vBSEO.

Please remember that mod is still in eta stage, but it was tested and logic is working well since months - it is in beta stage because of integration with new vB and vBSEO versions.

So enjoy!! :D

Ocean-Wonders 01-08-2010 11:14 AM

Fantastic Add on thanks very much !!

Nominated for MOTM

Big-Pete 01-08-2010 11:35 AM

Thankyou NLP'er, i was waiting for this, Only problem i've got is now when i generate a sitemap instead of getting the normal screen of info i just get the one line
Quote:

[SECTION START] showthread [6,122.1Kb mem used] [1,112s (+1,112s)]
and the site map doesn't update, But when i remove this

Code:

//additional code
$alanguages = array ('be','ca','zh-CN','hr','cs','da','nl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pl','pt','sr','sk','sl','es','sw','sv','th','tr','uk','cy');
if(!$archived)
  foreach($alanguages as $language) {
    $vbseo_stat['t']++;
    vbseo_add_url(vbseo_url_thread($threadrow, $p, $archived).'&amp;language='.$language, $prior, $threadrow['lastpost'], $freq);
  }
//end additional code

It works as normal
I'm running vb4 PL1 gold, VBSEO RC1 PL1 and sitemap 2.6 B1

Ocean-Wonders 01-08-2010 12:24 PM

Is there any way that the flags could be viewed in a drop down menu ??

ryacine 01-08-2010 05:57 PM

Great mod indeed. I have a question if you allow me:
I am in a urgent need for a translation service and this mod works just fine, my problem is that I have different forum categories with different languages. But you can set only one language in the adminCP, so when translating, almost all other languages are ignored. IS there a way for a language detection?

Delilahs 01-08-2010 06:41 PM

Ryacine, the person coming onto your site can just click the flag of their countries choice to translate the others

(I think)

I'll do a test on my site and get back to you on here

viganothing 01-08-2010 06:56 PM

Quote:

Originally Posted by NLP-er (Post 1950246)
Thanks. You can use this free version if you do not want to invest in paid one :) This one (free) is 100% functional in translations area - paid one is just better, faster and allows to write in different languages :D

its not about money , its just i use a forum where translations are not needed, forum is used only by the natives in my country so no foreign people, if i would needed it , i would definitly buy the paid one =)

ryacine 01-08-2010 07:10 PM

Thank you Delilas for your answer. The mod woks like a charm as you said, just by clicking the flag, translation is performed.
My problem is that, my forum is like this:
  • Many forums and Categories in English
  • A categroy of froums in French
  • Another Category in Spanish
  • Another one in Protuguese
  • Yet another one using Italian
But in the AdminCP options, you must set the forum language, only one language, so I chose let's say "English", so if a user hits one flag all the English content is translated, but not the others, Spanish, French, Portuguese and Italian will not be translated. My question was: is there a way for language detection or some other method so that all my content is translated?

Delilahs 01-08-2010 07:40 PM

Have you tried not setting the language in the set up screen? ;)

ryacine 01-08-2010 08:10 PM

Quote:

Originally Posted by Delilahs (Post 1950640)
Have you tried not setting the language in the set up screen? ;)

No, I didn't. Mainly due to the author's recommendations:

Quote:

You MUST configure at least Forum language option.
:D

Edit: I made the test right now, and guess what... It didn't work, ie nothing worked, all you have is a forum empty with no text in it. Very funny.

MarsNIIT 01-09-2010 04:20 AM

Hello,

Please help me error when translate:


https://vborg.vbsupport.ru/

Delilahs 01-10-2010 04:54 AM

Michal, on my forum in recent days, when i click on a language, it doesn't change the language at all.

If I hover over a flag with my mouse, it gives the correct url for that country, ie; /forum/ca/forum.php, but once I click on it, it goes to /forum/forum.php

It looks like a rewrite problem, can you advise on what to do on this? I have changed the .htaccess file to the same as your test zone, and although it works on the CMS pages, it doesn't work on the forums.

RedHacker 01-10-2010 04:38 PM

I have one error....

Fatal error: Call to undefined function vbet_getSupportedTranslations() in public_html/includes/class_bootstrap.php(283) : eval()'d code on line 148

cosy 01-10-2010 05:26 PM

i dont know if this was reported but if user in ont eh url /forums/forum.php and then click a flag like PT u get /pt/forums/forum.php but is a 404


All times are GMT. The time now is 03:08 AM.

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.02823 seconds
  • Memory Usage 1,962KB
  • 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
  • (7)bbcode_code_printable
  • (5)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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