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 Thu Mar 28, 2024 6:16 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
Author Message
 Post subject: Translations
PostPosted: Tue Aug 13, 2013 4:47 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Hi All,

We obviously have English working fine (and we have included a PT/BR file as well), but if you would like to translate Open-AudIT to your native language and at the same time help us out (I only speak English), grab a copy of the attached file, change the strings and post it back here (and let me know the language it is in) so we can include it in future versions.

The .php file is quite simple in structure. You will see each line is like this:
[code]$GLOBALS["lang"]["Add Device"]="Add Device";[/code]
You simply need to put your language in the quote enclosed string after the =. For example in PT/BR is would be:
[code]$GLOBALS["lang"]["Add Device"]="Adicionar Dispositivo";[/code]

This file normally lives at open-audit/code_igniter/application/views/lang/
WARNING - Do not use the one in your current install. I have just removed a lot of unneeded data from this file. The attached file has all you will need and is sorted alphabetically.

Any help provided would be most appreciated. :D


Attachments:
File comment: Normal filename extension is .inc
en.txt [32.09 KiB]
Downloaded 1905 times

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.
Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Mon Aug 26, 2013 12:26 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Just an FYI - we are getting ready to release v1.0.4 soon.
If you would like a translation file for your language included, please post it here (or email me) ASAP.

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Thu May 15, 2014 6:47 pm 
Offline
Newbie

Joined: Wed Mar 15, 2006 6:29 pm
Posts: 11
Hi,
witch is the correct procedure to change the language to test the translation ?!?
Tnx.

Red.


Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Thu May 15, 2014 8:57 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Edit one of the language files, then set your user preference (Menu -> Admin -> Users -> List Users, then edit a user) to use that language. You will need to log out of Open-AudIT (and back in) for the change to take affect.

See if the string you have edited in the language file is displayed correctly. Done :-)

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Fri May 16, 2014 4:39 pm 
Offline
Newbie

Joined: Wed Mar 15, 2006 6:29 pm
Posts: 11
Hi Mark,
I have the language file in xampplite\open-audit\code_igniter\application\views\lang but I cannot select it in user properties. :-(
What have I missed ?!?

Tnx a lot.

Red.

P.S. Italian Language


Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Mon May 19, 2014 8:32 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
[quote="RedErik"]I have the language file in xampplite\open-audit\code_igniter\application\views\lang but I cannot select it in user properties.

My bad. You will need to edit the following files:
/open-audit/code_igniter/application/views/theme-tango/v_edit_user.php (around line 70) and
/open-audit/code_igniter/application/views/theme-tango/v_add_user.php (around line 58).

Add your language file into those options, edit the user in the GUI and you should be set.

One other item of note - if you're running on Linux, make sure you set the files permissions and owner the same as the existing files in that directory.

Send me a copy if you like and I'll ensure it's in the next release :-)

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Tue Dec 16, 2014 8:06 pm 
Offline
Newbie

Joined: Mon Dec 15, 2014 5:49 pm
Posts: 10
Hi all,

is there a Way to translate the Menu too ?

i mean the menu in the "summary" view of a system.

Cheers Brick


Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Wed Dec 17, 2014 8:46 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
Hi Brick,

I've added the request to the Jira ticket list.

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
 Post subject: Re: Translations
PostPosted: Wed Dec 17, 2014 4:11 pm 
Offline
Newbie

Joined: Mon Dec 15, 2014 5:49 pm
Posts: 10
Hi Mark,

thanks a lot ! ;)


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.  [ 9 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