How to detect and change Avast UI language?

Hi all,

I want to progamatically chechk whats is the AVAST UI language. Is that possible?
I mean something like look registry, look if a file exists or anything what can be programmed.

If above question is positive. I want to programmatically change AVAST UI language. I mean changing from English to Spanish, for instance.

Avast already has the change language feature, see below

The current language is stored in avast5.ini, but you wouldn’t be able to change it from an external program without manually disabling avast! self-defense first. (And even then, you wouldn’t be able to make UI refresh itself, so the change would happen only after the machine/UI is restarted.)

Ok, I’ve found avast5.ini.

So, is there any way to automate installation and setting a new UI language? Requirement of machine restarted is not a problem.

Joan Montané

You’ll always have to disable the avast! self-defense module manually. Which will decrease your protection.

Yes, I know. My idea is to kill avast process, make changes, and restart it.

So, If I change avast5.ini language setting, and restart Avast, the UI language will change, right?

Are the languages files downloaded automatically? If it’s not done automatically, how can I install a language pack? where can download it?

Our porpouse is automate language setting for a set of most dowloaded and installed programs from our users, and Avast is one of them, :slight_smile:
We don’t want a manual language setting for each program, and need to make it programatically.

Best regards,
Joan Montané

Joan Montané

Won’t work, sorry.
To kill avast! processes, you again need to manually disable avast! self-defense first, it can’t be automated (that’s the whole point of the self-defense).
And no, you need to have the particular language modules installed beforehand (either from the program UI, or by including them during a custom program installation in the first place). If you just change the INI file value and the language modules will be missing, it will either fall back to the default English, or won’t start at all.

That’s a pitty, :frowning:

We won’t support Avast support to automatically change UI language.

Thanks for your quick replies and support

Best regards, Joan Montané