• #1013

    jaciel
    Participant

    813

    Problem with language

    I created the language what I want to use on the site, it got 99% translated, just a two words which does not translate m to my language.
    I want the condition to appear in Portuguese, however only appearing English
    Here’s a picture of my problem.
    https://ibb.co/mregz6

Viewing 7 replies - 1 through 7 (of 7 total)
  • #1018

    Hi

    It’s tough to get this translation, because of it’s comes from the database, however. We will try to add this.

    In the meantime, you can set a condition like

    if($condition == 'new'){
    //your portuguese word
    }

    Same for the state.

    Best regards

    #1020

    jaciel
    Participant

    In what file do I add this code?

    #1021

    It will confusion if you don’t know laravel. it’s just an example code, not real.

    Please wait until we solve this, we will notify you. but it will take some time.

    Best regards

    #1022

    jaciel
    Participant

    Thank you, I’ll wait

    #1042

    jaciel
    Participant
    This reply has been marked as private and you are not authorised to see.
    #1044

    Please follow the instruction to fix this condition word issue.

    Go to /root/resources/views/theme/single_ad.blade.php and open with text editor.

    Find below code in line number 85
    <p><strong><i class="fa fa-check-circle-o"></i> @lang('app.condition')</strong> {{ $ad->ad_condition }} </p>

    Replace with below code

    <p><strong><i class="fa fa-check-circle-o"></i> @lang('app.condition')</strong> {{ trans('app.'.$ad->ad_condition) }} </p>

    And translate all of the string in language directory. your issue will be solved.

    Best regards

    #1045

    jaciel
    Participant

    Great
    I just needed to change the file path to
    resources/views/theme/modern/single_ad.blade.php
    Because I use the modern theme
    And everything worked perfectly
    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)

Purchase for access

Buy a copy of Themeqx Advanced PhP Laravel Classified ads cms for access to our member center.

Buy