Open-AudIT
https://www.open-audit.org/phpBB3/

Translations
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6192
Page 1 of 1

Author:  Mark [ Tue Aug 13, 2013 4:47 pm ]
Post subject:  Translations

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 1906 times

Author:  Mark [ Mon Aug 26, 2013 12:26 pm ]
Post subject:  Re: Translations

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.

Author:  RedErik [ Thu May 15, 2014 6:47 pm ]
Post subject:  Re: Translations

Hi,
witch is the correct procedure to change the language to test the translation ?!?
Tnx.

Red.

Author:  Mark [ Thu May 15, 2014 8:57 pm ]
Post subject:  Re: Translations

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 :-)

Author:  RedErik [ Fri May 16, 2014 4:39 pm ]
Post subject:  Re: Translations

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

Author:  Mark [ Mon May 19, 2014 8:32 am ]
Post subject:  Re: Translations

[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 :-)

Author:  Brick [ Tue Dec 16, 2014 8:06 pm ]
Post subject:  Re: Translations

Hi all,

is there a Way to translate the Menu too ?

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

Cheers Brick

Author:  Mark [ Wed Dec 17, 2014 8:46 am ]
Post subject:  Re: Translations

Hi Brick,

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

Author:  Brick [ Wed Dec 17, 2014 4:11 pm ]
Post subject:  Re: Translations

Hi Mark,

thanks a lot ! ;)

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/