Author Topic: avast! for Linux translation  (Read 15273 times)

0 Members and 1 Guest are viewing this topic.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
avast! for Linux translation
« on: March 27, 2006, 04:29:40 AM »
Just finished to translate the avast.pot file into Portuguese (Brazilian).
Oh, need to boot into Linux to test the lenght of the dialogs...
I'll send you, Dublin, by email soon. Hope it can be packed as the Brazilian version of avast! for Linux  8)

Anyway, there are few 'mistakes' into English version:

#: xrc_resources.h:108 Click here to obtain licence keyClick here to obtain license key
#: ../src/scanresults.cpp:82 Error occured while deletingError occurred while deleting
#: ../src/scanresults.cpp:88 Error occured while moving to chest:Error occurred while moving to chest:
#: ../src/scanresults.cpp:85 Error occured while renaming:Error occurred while renaming:
#: ../src/scanresults.cpp:91 Error occured while repairing:Error occurred while repairing:
#: ../src/avast_errorstring.c:67 File was ingnoredFile was ignored
#: ../src/licencecheckui.cpp:57 Invalid licence keyInvalid license key
#: xrc_resources.h:107 Please enter your licence key in the text field below.Please enter your license key in the text field below.
#: ../src/licencecheckui.cpp:39 Renewing of the licence keyRenewing of the license key
#: ../src/avast_errorstring.c:71 VPS file is valid, but updated ilegalyVPS file is valid, but updated illegally
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: avast! for Linux translation
« Reply #1 on: March 27, 2006, 04:35:28 PM »
I've replaced this file
/usr/avast4workstation-1.0.4/share/doc/avast4workstation-1.0.4/avast.pot
with the new, translated one.
Boot.
Nothing happens, all that I get is the English version  ::)

I need a way to test the lenght of the messages and the acent... I'm foreseeing problems...  :'( :-[
Maybe you can post the list of acented characters and their 'translation' into codes (ASCII or whatever) that must be into avast.pot file.
The best things in life are free.

Offline chocholo

  • Poster
  • *
  • Posts: 645
  • BSC, GSC, MCP
    • Avast
Re: avast! for Linux translation
« Reply #2 on: March 27, 2006, 11:12:00 PM »
I've replaced this file
/usr/avast4workstation-1.0.4/share/doc/avast4workstation-1.0.4/avast.pot
with the new, translated one.
Boot.
Nothing happens, all that I get is the English version  ::)

I need a way to test the lenght of the messages and the acent... I'm foreseeing problems...  :'( :-[
Maybe you can post the list of acented characters and their 'translation' into codes (ASCII or whatever) that must be into avast.pot file.

Localization is done via standard gettext [some quick gettext howto] package, .pot is template for .po file, .po file must be compiled  into binary .mo file [gettext manual] and then placed into 
Code: [Select]
avastworkstation-x.y.z.tar/avast4workstation-x.y.z/lib/avast4workstation/share/locale/pt/LC_MESSAGES/ directory, just translation of .po file is not enough for localized program.
You can install gettext package and compile .po to .mo yourself [Producing Binary MO Files], but I think that Dublin can compile it for you. After installation of .mo file do not forget to set LANG variable to pt_BR for avast! Linux Home in Portuguese.

(Dublin will have some more detailed info)
« Last Edit: March 27, 2006, 11:35:04 PM by chocholo »

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: avast! for Linux translation
« Reply #3 on: March 27, 2006, 11:32:46 PM »
Just translation of .pot file is not enough for localized program
Well, I'm working on Dublin's orders  ::)

But I think that Dublin can compile it for you. Then do not forget to set LANG variable to pt_BR to enjoy avast! Linux Home in Portuguese.
Better if he can and the best will be release a possibility of download into the webpage. Few users will 'follow' all this way to get it into Portuguese.

Anyway, I'll try later... now booted on Windows  :P
Thanks Chocholo  :)
The best things in life are free.

Offline chocholo

  • Poster
  • *
  • Posts: 645
  • BSC, GSC, MCP
    • Avast
Re: avast! for Linux translation
« Reply #4 on: March 27, 2006, 11:57:17 PM »
Just translation of .po file is not enough for localized program
I'm working on Dublin's orders  ::)
It was just notice, that translation is not effective immediately and that further action with translated pot/po file (on Dublin's side) is needed for localized program.
But I think that Dublin can compile it for you. After installation of .mo file do not forget to set LANG variable to pt_BR for avast! Linux Home in Portuguese.
.
Better if he can and the best will be release a possibility of download into the webpage. Few users will 'follow' all this way to get it into Portuguese.
By setting LANG variable can be avast! switched to Czech language now, but maybe there will be some change, I don't know, I am not a programmer :)

Dublin

  • Guest
Re: avast! for Linux translation
« Reply #5 on: March 29, 2006, 11:35:59 AM »
thx Tech,
one more question, what's your LANG environment varible ( % echo $LANG ) ?

Dublin

  • Guest
Re: avast! for Linux translation
« Reply #6 on: March 29, 2006, 12:31:03 PM »
hi,
there'e a package including prepared '.mo' file, please unpack it into your avast4workstation-1.0.4/lib/avast4workstation/share/locale directory and then run avastgui.

http://www2.asw.cz/~mensik/locale.tgz

I've enabled the locale by running:
export LANG=pt_BR; avastgui

There's also included pt.po file for possible correction. You can send me the updated file back.
We've converted the file into utf-8 encoding, please use this encoding!
« Last Edit: March 29, 2006, 12:32:35 PM by dublin »

Dublin

  • Guest
Re: avast! for Linux translation
« Reply #7 on: April 04, 2006, 10:24:02 AM »
can I use 'pt.mo' file in the next release version?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: avast! for Linux translation
« Reply #8 on: April 04, 2006, 02:11:28 PM »
Dublin, sorry, my fault... I did not boot Linux from a week ago to now... I'll take a look in all this issues today if I have some spare time...
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: avast! for Linux translation
« Reply #9 on: April 06, 2006, 02:25:35 PM »
there'e a package including prepared '.mo' file, please unpack it into your avast4workstation-1.0.4/lib/avast4workstation/share/locale directory and then run avastgui.
http://www2.asw.cz/~mensik/locale.tgz
Failed:

gunzip: stdin: not in gzip format
gunzip: stdin: not in gzip format
tar: Child returned status 1
tar: Saí­da por erro atrasada pelos erros anteriores
tar: Child returned status 1
tar: Saí­da por erro atrasada pelos erros anteriores

I've enabled the locale by running:
export LANG=pt_BR; avastgui

There's also included pt.po file for possible correction. You can send me the updated file back.
We've converted the file into utf-8 encoding, please use this encoding!
I think I need to pass the first step before to test this...
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: avast! for Linux translation
« Reply #10 on: April 06, 2006, 02:27:15 PM »
thx Tech,
one more question, what's your LANG environment varible ( % echo $LANG ) ?

tech@linux:~> echo $LANG
pt_BR.UTF-8

Anyway, problems with accented characters are common  :-\ :'(
The best things in life are free.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11860
    • AVAST Software
Re: avast! for Linux translation
« Reply #11 on: April 06, 2006, 02:28:56 PM »
Btw, I found out that Passolo supports the PO format and included the Linux translation file into avast! project.
So, if you want, I can send you the Linux bundle in Passolo (for corrections, of course, not for testing).

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: avast! for Linux translation
« Reply #12 on: April 06, 2006, 02:37:14 PM »
Btw, I found out that Passolo supports the PO format and included the Linux translation file into avast! project.
So, if you want, I can send you the Linux bundle in Passolo (for corrections, of course, not for testing).
But Passolo should be at Linux or the same Passolo I use into Windows?

If it's the second one, no trouble, it will be much easier to work this way (all translations at Passolo).
By the way, isn't there a help file for Linux?

Igor, you can say Vlk I finished the server version translation, if he's not in a hurry I just want to read all over again to final adjustments.
The best things in life are free.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11860
    • AVAST Software
Re: avast! for Linux translation
« Reply #13 on: April 06, 2006, 03:04:15 PM »
Sure, Windows Passolo (I don't think there exist a Linux version).
"Server version translation" - you mean the Passolo package, Net title?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: avast! for Linux translation
« Reply #14 on: April 06, 2006, 03:47:39 PM »
"Server version translation" - you mean the Passolo package, Net title?
No, I mean the Help files for ADNM.
Of course, the Passolo package for it is already translated.
Can you send me the Linux file for Passolo?
The best things in life are free.