Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

pay for theming ?

2

Comments

  • Options
    peregrineperegrine MVP
    edited May 2014

    vrijvlinder will give you a few fish, but I will give you the fishing rod.... :)

    what would you rather have a few measly fish or a rod!

    http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale

    now you don't have to settle for a few definitions to fry, you've got the whole pacific ocean.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Yes when it comes to things other than themes, I am a small fry :)

  • Options
    peregrineperegrine MVP
    edited May 2014

    I thought you were going to refer people to tutorials, instead of spoon-feeding!

    He that spareth the rod...

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited May 2014

    jc made me do it....Actually when it happens that late at night sometimes I can't find the tutorials and it's faster to just do it. specially for small stuff. But it looks as though sinner got ahold of firebug and is happy now that they can do it all themselves. :D

  • Options

    hi, last time i asked about this, and i was told to edit /conf/locale.php, but i figure version 2.1 doesnt have that file in /conf, can you show me where it is in 2.1? thanks.

  • Options

    create it!

    just when you thought you gave the guy a rod. he asks for a life preserver.

    you could change or ADD a /conf/locale.php by adding definitions to it.

    e.g.

    <?php if (!defined('APPLICATION')) exit();
    $Definition['%s comment']='%s post';
    $Definition['%s comments']='%s posts';
    $Definition['Howdy, Stranger!'] = "Greetings, Bucko!";
    $Definition['GuestModule.Message'] = "It looks like you\'re either new here or you have not logged in yet. If you want to participate in our community discussions, click one of these buttons!";
    

    all you need in /conf/locale.php

    is

    <?php if (!defined('APPLICATION')) exit();

    then add any defintions you want.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    applications/dashboard/locale/en-Ca

    but you would add it to your own language locale or create a new file

  • Options
    peregrineperegrine MVP
    edited May 2014

    if it were me.

    I would leave all the downloaded transifixes and locales as is.

    and make my minor personal modifications to definitions via conf/locale.php

    it is the EASIEST way without tying yourself up in fishing line.

    but I'll have to duke it out with Vrijvlinder first. bam! bam! kaplooey! oh my. v stumbles back.....

    ref counts 10 ....9...8...7...6..5..4...3...2...1

    float like a butterfly - sting like a bee.

    ok now you are ready to go sinner

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited May 2014

    There is no locale in conf on this 2.1 unless they missed something

    so he has to create it , a folder called locale and put the files in there

  • Options
    peregrineperegrine MVP
    edited May 2014

    v said:
    so he has to create it , a folder called locale and put the files in there

    nein nicht mei you, nay. nyet no - he just creates a file called locale.php in the conf folder and puts definitions in there.

    /conf/locale.php

    see the tutorial

    http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale

    V,

    it was pointed out many moons ago, there shouldn't be one in the installation source code (just as there is no config.php) because if there was it would overwrite your old one.

    But you can create it caterpillar.

    see:

    http://vanillaforums.org/discussion/22104/several-places-where-i-think-a-config-statement-option-would-be-valuable

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    ok, i just created locale.php and put it in /applications/dashboard/locale/en-Ca, define as instructed, also put <?php if (!defined('APPLICATION')) exit(); on top, but still not translating.

    anyway, i have a question, i use a vietnamese language file /locales/ViVN/definition.php , i also tried to define it in this file, but it's not translating also. so, why do i have to create a different translation file for it, when i already select ViVN in admin panel as default language?

  • Options
    peregrineperegrine MVP
    edited May 2014

    created locale.php and put it in /applications/dashboard/locale/en-Ca, define as instructed, a

    I didn't instruct you to do that and vrijvlinder is still down with a knock-out.

    this is FREE, you don't have to pay for it.

    please read MY comments.

    please read the tutorial. after you do come back with questions.

    http://vanillaforums.org/discussion/26597/tutorial-how-to-change-wording-how-to-change-text-how-to-change-language-how-to-change-locale#latest





    image




    you can add definitions in many files in your theme, in your application and in locale.

    you can add the definitions to your already existing vietnamese locale. but I still think what I suggested is better for the reasons discussed in the thread and tutorial.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    ok, i just read, and re-do this, created locale.php and put it in /conf , deleted cache files, refresh, but still not translating. i open the locale_map.ini file, it shows:

    [vi-VN]
    0 = "/home4/giesu/public_html/forum/locales/ViVN/definitions.php"
    1 = "/home4/giesu/public_html/forum/conf/locale.php"

    am i doing something wrong here? should 0 = /home4/giesu/public_html/forum/conf/locale.php" ?

    i think it's not reading the locale.php first.

  • Options
    peregrineperegrine MVP
    edited May 2014

    should 0 = /home4/giesu/public_html/forum/conf/locale.php" ?

    no...

    it's correctly reading the locale file based on what you said.

    what definitions are you trying to change?

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    i'm trying to change the "views" and "comment" or comments (screenshot attached)

  • Options
    peregrineperegrine MVP
    edited May 2014

    and post your conf/locale.php

    and what theme?

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    sinnersinner New
    edited May 2014

    i'm using bootstrap "readable" theme , conf/locale.php:

    1. <?php if (!defined('APPLICATION')) exit();
    2. $Definition['%s comment'] = '%s Trả lời';
    3. $Definition['%s comments'] = '%s Trả lời';
    4. $Definition['%s views'] = '% Lượt xem';
    5. $Definition['%s view'] = '% Lượt xem';
  • Options
    peregrineperegrine MVP
    edited May 2014

    try this in conf/locale.php and report back sir

    $Definition['%s view html'] = '%s Lượt xem';
    $Definition['%s views html'] = '%s Lượt xem';
    $Definition['%s comment html'] = '%s  Trả lời';
    $Definition['%s comments html'] = '%s   Trả lời';
    

    send donation to vrijvlinder :) if you want.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited May 2014

    no, send it to peregrine !! he lives in a favela and needs help to get a better life ;)

  • Options

    works great, but why did you include the "html" in there?

Sign In or Register to comment.