Voicemail Language change

hello everyone i would like to know how to change the language of my voicemail from english to french, knowing that i am using asterisk server on ubuntu

/$ locale
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE=“fr_FR.UTF-8”
LC_NUMERIC=“fr_FR.UTF-8”
LC_TIME=“fr_FR.UTF-8”
LC_COLLATE=“fr_FR.UTF-8”
LC_MONETARY=“fr_FR.UTF-8”
LC_MESSAGES=“fr_FR.UTF-8”
LC_PAPER=“fr_FR.UTF-8”
LC_NAME=“fr_FR.UTF-8”
LC_ADDRESS=“fr_FR.UTF-8”
LC_TELEPHONE=“fr_FR.UTF-8”
LC_MEASUREMENT=“fr_FR.UTF-8”
LC_IDENTIFICATION=“fr_FR.UTF-8”
LC_ALL=fr_FR.UTF-8

still having english for the voicemail

That’s the OS language, for the current shell user. You need to set the Asterisk languages. In particular you probably want to look at:

but languages are also set in asterisk.conf, in the channel technology configuration files, and by dialplan actions.

Here is my voicemail.conf file configuration for 4 users :

[main]
9999 => 123

8888 => 123

7777 => 123

6666 => 123

[default]
language=fr

[zonemessages]
tz=Paris

Paris isn’t a valid timezone name.

You never use the tz timezone you have defined, and its name suggests that you haven’t understood what it is. Also, you don’t define any custom announcement format.

You don’t specify the locale for any mailbox, nor in the general section.

I suspect you need to have the language defined on the channel to get the right voice file.

language is not a valid keyword in this file.