TRANSLATE - Some words of the software have not been translated of Portugues - Brasil

luiz humberto faria Posted in Professional Services 6 years ago

starting a social network
I do not know how to translate some words that are not translated in the Portuguese version.
I need two changes

1o.
Include this text below the sentence
What's on your mind?

to OSSN.EN.PHP
To post a video of Youtube paste here the link you want

to OSSN.PT.PHP
Para postar um vídeo do Youtube cole aqui o link que quiser

Some words of the software have not been translated from English

I found a file in .php file ossn.pt.PHP.
I include some translations, but I do not know if I did it correctly.
and I do not know how to update.

I need help to take the step by step.

below I show how I changed the file ossn.pt.PHP

         'lastlogin' => 'Last Login',

         I started here randomly and in the same format as the other translations.

/ * LHF * /
       
'What's on your mind?' =>
'video: com: all' => 'All Videos',
'video: com: mine' => 'My Video',
'video: with: add' => 'Add Video',
'emembers' => 'Members',
'Upcoming: Birthdays' => 'Upcoming Birthdays',
'ossn: disklike' => 'Do not Like',
'post: share' => 'Post Share',
'video: com: add' => 'Add Video',
'video: with: title' => 'Video Title',
'video: com: description' => 'Video description',
'video: with: file (8MB) Allowed formats (.3gp, .mov, .avi, .wmv, .mp4)' =>
'video with (8MB) and Available Format (.3gp, .mov, .avi, .wmv, .mp4)',
'Save' => 'Save',
'video: com: uploading' => 'Adding Video',
'video: com: converting' => 'Converting Video',
'mobilelogin' => 'User / Mobile',
    'social: login: with: facebooK' => 'Login with Facebook user',
    'post: shared: title' => 'Shared Post',

Replies
Indonesian Arsalan Shah Replied 6 years ago

Please do not use the translator to translate language files.

To translate langauge file copy the file for example : components/OssnChat/ossn.en.php to components/OssnChat/ossn.pt.php

Edit ossn.pt.php with following :

   <?php
    $pt = array(
        'ossn:chat:no:friend:online' => 'Ninguém está online',
    );
    ossn_register_languages('pt', $pt);  //replace en to pt

Same with components/Videos/ossn.en.php to components/Videos/ossn.pt.php