Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Page 1 of 2 12 LastLast
Results 1 to 10 of 24

Thread: FAQ

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037
    Last edited by Marcin Kalak; 01-06-15 at 10:02.

  2. #2
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default What is required for this mod to work?

    - You must install it and configure it appropriately (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.

  3. #3
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default After translation I get blank page - what is wrong?

    Just read answer for previous question

    Also you can check this vBulletin documentation about blank pages: http://www.vbulletin.com/docs/html/blank_pages
    Still - first just make sure that you have everything what is needed for vBET.
    Last edited by vBET; 09-09-10 at 09:01.

  4. #4
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default After translation all text disappear - what is wrong?

    In such case you have 3 possibilities:
    1. You didn't fallow installation instructions. You MUST configure Forum language option. Just configure mod
    2. You set wrong Google Translation API key - set it to appropriate value or remove it (not advised - just set it appropriately)
    3. For some reason you was blocked by Google


    The last one needs some clarification - how you can tell that you was blocked. Here is simple manual how to do that:
    http://www.vbenterprisetranslator.co....html#post1728
    Last edited by vBET; 14-03-10 at 01:48.

  5. #5
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default I have SEO translation links on, I use vBSEO and main page is not translating - what is wrong?

    Make sure that your .htaccess rules are OK - especially for forums with subdirectory in URL.
    Last edited by vBET; 19-02-10 at 05:49.

  6. #6
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default 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 vBSEO users see here

    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 one of these two rules (if you are using vB 'Mod Rewrite Friendly URLs' then put those rules JUST BEFORE vB rules):



    - SHORT RULES
    Faster and more efficient but can be used only if you are NOT using links with 2-signs part i.e: yourforum.com/XY/

    Code:
    RewriteRule ^/?(..|zh-CN|zh-TW)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA]
    RewriteRule ^/?(..|zh-CN|zh-TW)/$ index.php?language=$1 [L,QSA]
    RewriteRule ^/?(..|zh-CN|zh-TW)/(.*)?$ $2?language=$1 [QSA]


    - LONG RULES
    Can by used always

    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 [QSA]
    Last edited by r.dziadusz; 08-11-11 at 20:52.

  7. #7
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default How does multi language support is working?

    First of all mod supports user default language. It is set in registration form and can be changed in User CP. So if user has set his default language, then he does nothing... Just writes posts in his language, and vBET takes care about everything. In such case - when user has set default language it is assumed that whole post (including title) is written in his default language. It will be configurable soon, but at his moment there is simple assumption: if user has set default language and it is different than forum default language, then each his message is in language which he choose as his default.

    You can also create multi language messages, where only parts of message are in different languages. This is very easy - everything what you need to do it put text written in different language inside of lang BBCode. It takes one parameter which is the language code. I.e. if you want to write something in Polish, then BBCode looks like this lang=pl.
    See whole example (spaces in BBCode added to avoid evaluation):
    [ lang=pl]Przykład tekstu po polsku[ /lang]

    This example (without spaces in BBCode) will give you such result:
    Text automatically translated from: Polish to: English
    Translated text
    Example of text in Polish
    Original text


    There is also one more BBCode which works exactly as lang BBCode, but it's reserved for posts titles only. It is langtitle BBCode - it is used by vBET to automatically mark message of user which set theirs default language other than forum default language. It shouldn't be used manually, and if you want to use it such way, then remember to put whole message inside of lang BBCode using same language code as parameter in booth BBCodes (otherwise some parts of translated RSS channels can be not translated appropriately, but posts will be shown appropriately).

    There is really one more BBCode, but it is not for translation - in fact it is to keep text not translated. If you want some text i post to be not translated, just simple out it inside of notranslate BBCode. It can be useful in case of some terms, or citation of some poems etc.

    For example this text will never be translated. You can check it by clicking some translation flag - you will see this part will stay in original
    Last edited by vBET; 10-10-09 at 05:27.

  8. #8
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default How to translate pages outside forum directory?

    If your forum is in subdirectory and you have pages outside it, which are handled by vBulletin, then vBET will support translation for those pages

    All you have to do is set appropriate rules in .htaccess file in forum PARENT directory:
    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)/$ index.php?language=$1&vbet_outside=true [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&vbet_outside=true [L,QSA]
    And for each subdirectory in your domain which should be supported by vBET (without forum directory itself) add this rule in .htaccess file inside of supported subdirectory:
    Code:
    RewriteCond %{QUERY_STRING} !vbet_outside=true
    RewriteRule ^(.*)$ $1?vbet_outside=true [L,QSA]
    So if forum PARENT directory also have to be supported it needs all those rules.

    If you also want to keep translation tracking for those you have to:
    1. Turn on URL tracking outside forum directory in options in Admin CP
    2. Make sure that links to those pages are ABSOLUTE (so starts from http)


    Also make sure that there is base tag in generated HTML output for pages outside forum directory. If not then edit template which generates those pages and add code below in any place between <head> and </head>:
    Code:
    <if condition="!$_REQUEST['language']"><base href="$vboptions[bburl]/" /></if>
    Last edited by vBET; 10-08-10 at 11:00.

  9. #9
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default After installation whole forum goes down, even Admin CP - what is wrong?

    You have:Fatal error: Cannot redeclare vbseo_thread_seotitle
    or sometimes just blank page even in Admin CP and wonder why...

    Standard response - you didn't fallow installation instructions

    More precisely. As it is described here, if you integrate vBET 3.x with vBSEO by .htaccess file, you have to do full integration by following instructions in installation manual from section vBSEO Integration.

    You MUST edit FORUM_ROOT/includes/functions_vbseo_createurl.php file as described in manual (readme.html in installation package). Very simple - just copy 2 lines. After that everything will work again.
    Last edited by vBET; 19-02-10 at 06:07.

  10. #10
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default How to check am I blocked by my translation provider?

    If everything was working well and suddenly it not then one possibility is that you have issue with your translation provider (others are: some configuration was changed, new mod added, some software updated).


    To check this, upload the appropriate file from the package vBET do-not-upload/tools/providers-tests/. In this directory contains files for testing providers translations.

    Example test for googleapiv2:
    1. Upload file test_googleapiv2.php to forum directory.
    2. Open a browser page:
      Code:
      YourForumAddress/test_googleapiv2.php
    3. If everything is ok you will get answer:
      Code:
      Starting transaltion test
      Test result: {"responseData": {"translatedText":"Welcom"}, "responseDetails": null, "responseStatus": 200}
      Test error:


    In case of error check that you have the correct API key in Admin CP -> vBET -> Translation Providers.
    Last edited by Marcin Kalak; 23-10-13 at 18:40.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •