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 11

Thread: How to saving/frugal money, using paid Google v2 API. Please share your tips and tricks!

  1. #1

    Default How to saving/frugal money, using paid Google v2 API. Please share your tips and tricks!

    In Google API settings page, i set max 1 M characters perday = its mean i need to pay $20 per day to google, to use google translate. This is ok for me, as i earned more than that per day from ads

    so i am trying to make more less money that i need to spend to Google for each day, but still can using google translate. I am still not sure the test result for below idea, so i am asking for official answer, and this community help





    - Tips/tricks 1. The more less text characters that translated, the more less money that i need to spend to google

    So i am thinking using IF NOT conditional in some area in my forum that not important, in some templates, so google translate no need to translating it, so more less money that i need to spend to Google :

    If this area is no need showing in translated page, so no need to translate, is this the conditional? :

    <if condition="!isset($_REQUEST['language'])">
    Some area that not important, that no need to translate. ie welcome header, announcement, etc
    </if>

    Nb. I get that code from here http://www.vbenterprisetranslator.co....html#post7847






    - Tips/tricks 2. No need to translate some forums, that not important

    I think currently, vbet is translating all forum, and there is no options for exclude some forums

    so i think need this IF NOT conditional, that we need to wrap in the code of these plugins :
    'vB Enterprise Translator - Flags'
    'vB Enterprise Translator'
    'Write guest cache'

    if ($GLOBALS['forumid'] != xx) {
    the plugin code above that need to wrap
    }

    Nb. Change xx wih the forum you dont want to exclude from translating









    Adminstration note: this tip is wrong - it is not needed at all

    - Tips/tricks 3. No need to translate some styles, only translating in a style
    for example :
    default style domain.com is translated
    but domain.com/?styleid=xx is translated again, its mean double page that translated, even have same text content, only different style, its not effective right, why we need translating all styles


    so i think need this IF NOT conditional, that we need to wrap in the code of these plugins :
    'vB Enterprise Translator - Flags'
    'vB Enterprise Translator'
    'Write guest cache'

    if (STYLEID == xx) {
    the plugin code above that need to wrap
    }
    Nb. Change xx wih the styleid that you want to translating





    please share do you think will its work, and if you have other way to saving/frugal money, using paid Google v2 API too
    Last edited by r.dziadusz; 07-01-12 at 12:11.

  2. #2
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Hi
    vBET made already some basic tutrial: http://www.vbenterprisetranslator.co...html#post10412

    The more less text characters that translated, the more less money that i need to spend to google
    If you want not to translate some parts of your page you cane use <!--vBET_SNTA--> and <!--vBET_ENTA-->. Just put content witch you don't want to be translated in it.
    For not translating post you can use [ lang = notranslate]

    No need to translate some forums, that not important
    We got many questions about that so far. Right now vBET is created in order to support whole forum, but if you've found the way to deal with it it would definately reduce your translations number

    No need to translate some styles, only translating in a style. Why we translating all styles, that have same text content, only different style
    Could you please describe it a bit more

  3. #3

    Default

    Hi
    vBET made already some basic tutrial: FAQ
    many thanks for the link




    If you want not to translate some parts of your page you cane use <!--vBET_SNTA--> and <!--vBET_ENTA-->. Just put content witch you don't want to be translated in it.
    i put this in template right?




    No need to translate some styles, only translating in a style. Why we translating all styles, that have same text content, only different style
    Could you please describe it a bit more
    this is maybe secondary problem, its not too important for now, but i explaining it again, and i already make the first post above more clear too for Tips/tricks no.2 and no.3 :

    normal page is domain.com, and if translated become domain.com/es/ , its mean one page that translated

    normal page in other style is domain.com/?styleid=xx , and if translated become domain.com/es/?styleid=xx , its mean one more page that translated, its not effective, the page that need to translated are doubled

    i already used Tips/tricks no.3 above since few months a go, its works







    From the FAQ :

    4. Do not clear your database cache and disable automatic cleaning
    Remember to improve value of cache ttl or even disable it(0) - you can find it here: admincp -> vBET Cache -> Database Cache ->Cache Time To Live (TTL)
    About this part,

    if we set zero (0) in admincp -> vBET Cache -> Database Cache -> Cache Time To Live (TTL)

    is this allowed by microsoft translation and Apertium?

    and are we still checklist in 'Cache cleaning details'?

    and should we disable scheduled task 'vB Enterprise Translator (Table Cache Cleaner)'?



    please share the best settings about this, most of them are using all the translation providers

  4. #4
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Data = translations from Apertium and Microsof Translation API can be stored as long as you wish. If you set Cache clearing strategy to disable you don't need to disable its task. Disabling this option will reduce you number of your translations - each text will once translated will exist in your cache and doesn't need to be translated again- but it will also make you database cache will grow large.
    About checklist - you can always decide to run cache cleaning for only some part of languages - i.e. those which are used rarely

  5. #5

    Default

    ok thanks


    If you want not to translate some parts of your page you cane use <!--vBET_SNTA--> and <!--vBET_ENTA-->. Just put content witch you don't want to be translated in it.
    about this, we put this in template right?



    and anybody know, how much character limit for Apertium permonth?

  6. #6

    Default

    ok i can confirmed Tips/tricks 1 above are working, just put that conditional in template, in area that you dont want to showing in translated pages, for example announcements, post counts, signature, faq, and other parts that not important, so less character that translated

    please any one try it too and confirm it too


    btw i am still not sure which methode are better, my if conditional, or <!--vBET_SNTA--> and <!--vBET_ENTA--> way

  7. #7
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    - Tips/tricks 3. No need to translate some styles, only translating in a style
    vBET stores in cache only text, so if each of styles uses once translated phrases. There will bo no extra translations of style, just using translated text in styles

    btw i am still not sure which methode are better, my if conditional, or <!--vBET_SNTA--> and <!--vBET_ENTA--> way
    <!--vBET_SNTA--> and <!--vBET_ENTA--> its already implemented, and is easy to use - just edit template you use, put the content that you want to be untranslat beetween tags(<!--vBET_SNTA--> and <!--vBET_ENTA-->) and voila, text still shows, but is not translated

  8. #8

    Default

    ok using <!--vBET_SNTA--> and <!--vBET_ENTA--> = the text still shows, but is not translated


    but can you tried using my if conditional in Tips/tricks 1 = the text is not shows in translated pages. Because not showing, its should be not translated too, and maybe better way :

    <if condition="!isset($_REQUEST['language'])">
    Some area that not important, that no need to translate. ie welcome header, announcement, etc
    </if>

  9. #9
    Retired ;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    It depends want you want to achieve. Your Tip 1(we haven't tested it yet), if works as you said is more difficult to use, also you have to decide, if you want to show someone untranslated or hide it.

  10. #10

    Default

    ok then here are the screenshot for Tips/tricks 1


    in normal page




    in translated page, you can see we can hide user title, post counts, signature, welcome messages, etc, that not really important




    please anyone use it if you need too, we make it better together. I think its not more dificult to use, its same way like <!--vBET_SNTA--> and <!--vBET_ENTA-->, just put in the template that we want, only the achive is a little different, i just want to know if this is really working and better

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
  •