Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 1:00 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Translate
PostPosted: Fri Feb 08, 2008 8:08 pm 
Offline
Newbie

Joined: Fri Feb 08, 2008 8:05 pm
Posts: 25
I can help translating for the Brazilian Portuguese. How to do?


Top
 Profile  
Reply with quote  
 Post subject: Re: Translate
PostPosted: Wed Feb 13, 2008 7:46 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
Sorry for the late reply.

The translation is fairly simple, take a look at some of the existing langauge files in the lang folder.

For example take en_us.inc and en_gb.inc (English US and English UK)

Use these as your starting template for the new language translation.

Save a copy as say pt_br.inc (or use the existing file, but this may be incomplete, see below) then translate all of the lines as per this example..

$GLOBALS["lang"]["Home"]="Inicio";

(OK Bad example, that's Spannish, but $GLOBALS["lang"]["Home"]="Home"; doesn't work so well :twisted: )

Furthermore if you set $language_learning_mode==1 in include_lang.php and then run through all of the program options first, this should so far as I recall add all of the text for the options to the current language file, in English. Once you have done this, then modify the language file translating all of the text as per the above example.

Once translated, post the translation here, and we will add it to the SVN.

Let me know if you run in to trouble or need any further assistance.

Thanks

Andrew.

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
 Post subject: Re: Translate
PostPosted: Wed Feb 13, 2008 8:37 pm 
Offline
Newbie

Joined: Fri Feb 08, 2008 8:05 pm
Posts: 25
I perceived that already a translation for the Portuguese exists, but lack some words. I go to try to help.
Thanks!


Top
 Profile  
Reply with quote  
 Post subject: Re: Translate
PostPosted: Wed Feb 13, 2008 9:49 pm 
Offline
Moderator
User avatar

Joined: Tue Jan 25, 2005 3:09 am
Posts: 2140
Location: Scotland
Thanks. Let us know if you have any trouble.

_________________
Andrew

[size=85]OA Server: Windows XP/ XAMPP, Mandriva/Apache, Ubuntu
Auditing: 300+ Wstns, 20+ Srvrs, Thin clients, Linux boxes, Routers, etc
OS's: Windows XP , W2K Srvr, W2K3 Srvr, W2K8, Vista, Windows 7, Linuxes (and a Mac at home)
LDAP: Active Directory[/size]


Top
 Profile  
Reply with quote  
 Post subject: Re: Translate
PostPosted: Sat Jul 31, 2010 3:47 pm 
Offline
Newbie

Joined: Sat Jul 31, 2010 3:44 pm
Posts: 1
Well I think you have given really nice idea that how to translate one language to another. So basically it is depends on the language and the skill of the person.

_________________
[url=http://www.translia.com/fr]agence de traduction[/url]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group