Author Topic: How can i translate Avast! in my language?  (Read 28203 times)

0 Members and 1 Guest are viewing this topic.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
How can i translate Avast! in my language?
« on: February 21, 2004, 07:18:18 PM »
Is it possible to translate Avast! in my language or i need some special program to do this,and where are stored all the strings?
I translated some small programs and i'd like to translate Avast! too. If its allowed :)

EDIT:
Ok i found boot-scan strings and translated them.
« Last Edit: February 21, 2004, 07:36:25 PM by RejZoR »
Visit my webpage Angry Sheep Blog

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re:How can i translate Avast! in my language?
« Reply #1 on: February 21, 2004, 07:41:50 PM »
Well, it is allowed (in fact, we certainly are interested in program translations) - but it's not as easy as it may seem (besides, it's a lot of work - avast! is not really a "small program").

The strings are stored in multiple files - most of them in the resources of the DLLs in the corresponding language folder (e.g. directory "English" in the avast! installation directory - Lang.dll, Base.dll, Mai.dll).
If you had a resource editor, it would be possible to translate them using it - but it certainly wouldn't be very comfortable. I could send you the source .RC files, together with some info about it - but it's not much better.

For an easy translation, we have purchased a special software - it packs all the resources into a small package; the translator downloads a special free version of this tool that makes it possible to open and translate the package. However, we have 5 licenses for this tool (which means that it cannot be used by more than 5 people simultaneously at a time) - and I'm afraid we cannot start the Slovenian (is it the language we are talking about? ;D) translation (using this tool) right now, since the licenses are currently used for other languages. However, if you want to try with the resource files, it is possible.

Note: the strings in the boot-time scanner should not use any special accented (non-English) characters; they are not available when the boot-time scan is performed.
« Last Edit: February 21, 2004, 08:31:29 PM by igor »

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How can i translate Avast! in my language?
« Reply #2 on: February 21, 2004, 11:34:21 PM »
Ok i can wait,so other can finish their translation.
Boot-scan translation was very easy,because its just a plain text.
I just need to test it if everything looks fine.
I'll try translating everything else with UltraEdit...
Visit my webpage Angry Sheep Blog

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re:How can i translate Avast! in my language?
« Reply #3 on: February 22, 2004, 02:55:33 PM »
RejZoR, if you need, in the future, to share some experiences about the translation, feel free to email me...
I translated avast! into Portuguese (Brazilian). Like Igor said, it's time consuming but a fantastic experience  8)
The best things in life are free.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How can i translate Avast! in my language?
« Reply #4 on: February 29, 2004, 06:07:54 PM »
No,i already tried.
Visit my webpage Angry Sheep Blog

Tisti

  • Guest
Re:How can i translate Avast! in my language?
« Reply #5 on: February 29, 2004, 06:10:55 PM »
Ups... deleted the post..

Well i sad:
Can I edit it in a hex editor...



Oh well, to bad then;)

Why didnt you guys make the lang. files txt's? Its 50x easyer to translate. You could have puten  the subroutines onto a diferent dll and it would be solved? (just a thouth)

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How can i translate Avast! in my language?
« Reply #6 on: February 29, 2004, 06:22:34 PM »
They have special program for translation,but its currently in use by others,so i have to wait until then.
Visit my webpage Angry Sheep Blog

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re:How can i translate Avast! in my language?
« Reply #7 on: March 01, 2004, 12:28:54 AM »
Translators, take a look here.  ;D
The best things in life are free.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re:How can i translate Avast! in my language?
« Reply #8 on: March 01, 2004, 10:21:11 AM »
Why didnt you guys make the lang. files txt's? Its 50x easyer to translate. You could have puten  the subroutines onto a diferent dll and it would be solved? (just a thouth)

Even if we could create the "txt" language files, it wouldn't be exactly easy to use the content of the translated .txt file back to generate a new language version of avast. (Most of the) language-dependent content really are in separate DLLs, the avast! code is elsewhere. However, these DLLs contain so called "resources". If you want to (try to) translate the resource files (RC format), I can send them to you. If you have a resource editor (such as MS Visual Studio), it would be quite easy to edit. You can also use an ordinary (text) editor - but you would have to know what parts of the RC file to edit and what parts to keep intact - it contains many identifiers, flags, etc - that shouldn't be modified.

Using the special translation software I mentioned above, it's 50x easier to translate than translating TXT files. ;D  As I said, however, we don't have free licenses right now.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How can i translate Avast! in my language?
« Reply #9 on: March 18, 2004, 05:53:47 PM »
Ok i found the way :) So far so good with no complications,but i can get this only as replacement for ENGLISH files (Slovenian strings replace English ones,all other stuff is left intact).
Visit my webpage Angry Sheep Blog

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How can i translate Avast! in my language?
« Reply #10 on: March 18, 2004, 06:16:13 PM »
Can i use Slovenian extra characters or i can use only english characters?
« Last Edit: March 18, 2004, 06:16:26 PM by RejZoR »
Visit my webpage Angry Sheep Blog

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re:How can i translate Avast! in my language?
« Reply #11 on: March 18, 2004, 06:51:33 PM »
Can i use Slovenian extra characters or i can use only english characters?

RejZor, as far I know, you can use extra characters...
Although I translated avast! using the 'normal' way: HTML code for the help files, txt editor for tooltips, and Passolo application for dialogs.
But probably they would be able to import that characters anyway...
If Igor does not say anything, I think it's posible.
The best things in life are free.

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How can i translate Avast! in my language?
« Reply #12 on: March 18, 2004, 07:10:01 PM »
Aha,interface is almost translated,here comes the biggest part hehe

And what about help file and so on? Will i translate that too or how is with that?

Oh and when i used special characters, i got ? instead,but i think this is limitation of the translation program...
« Last Edit: March 18, 2004, 07:10:54 PM by RejZoR »
Visit my webpage Angry Sheep Blog

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re:How can i translate Avast! in my language?
« Reply #13 on: March 18, 2004, 07:18:08 PM »
May I know a little more about the translation?  ;)
Besides, isn't there some kind of duplicate work happening here, regarding this thread?

Offline RejZoR

  • Polymorphic Sheep
  • Serious Graphoman
  • *****
  • Posts: 9406
  • We are supersheep, resistance is futile!
    • RejZoR's Flock of Sheep
Re:How can i translate Avast! in my language?
« Reply #14 on: March 18, 2004, 07:24:17 PM »
Hehe it might be ;)
I like translating programs from english to my native language,so i'll do it even if someone does this before me :)
Anyway,i translated half of the program in nearly one hour so i'll probably finish translating today at late hours :)

I'm currently on dialogs stuff,but here is a bit more work to do and to watch out for dialog variables,so i won't break something hehe
Visit my webpage Angry Sheep Blog