Mibew Messenger Community

General => Support => Topic started by: borro on July 02, 2015, 08:09:42 AM

Title: "Invalid file type" message while uploading language file
Post by: borro on July 02, 2015, 08:09:42 AM
Hello, dear developers!

Can't find localization faq or howto topic. Let me ask here.
When I'm trying to upload downloaded mibew-i18n-ru-2.0.0-20150414.zip file at "Translations import - Mibew Messenger" page of mibew 2.0.1 messenger I see
Quote
Correct the mistakes:
Error uploading file "mibew-i18n-ru-2.0.0-20150414.zip": Invalid file type.
error
Please tell how to install language pack correct
Title: Re: "Invalid file type" message while uploading language file
Post by: Dmitriy Simushev on July 02, 2015, 02:54:37 PM
You have to unzip (untar) the package and put files into "mibew/locales/<locale code>" directory.
Title: Re: "Invalid file type" message while uploading language file
Post by: borro on July 03, 2015, 06:22:44 AM
You have to unzip (untar) the package and put files into "mibew/locales/<locale code>" directory.
I've already done it but still the language is English everywhere. In messenger settings page and in Localize section the is only "en" option to choose. Any ideas how to enable uploaded language files?
Title: Re: "Invalid file type" message while uploading language file
Post by: Dmitriy Simushev on July 03, 2015, 08:03:37 AM
Quote
Any ideas how to enable uploaded language files?

After you upload the package new language should be available at "<base URL>/operator/locale" page. If it does not then you did something wrong.
Title: Re: "Invalid file type" message while uploading language file
Post by: borro on July 03, 2015, 08:38:58 AM
Thank you. To much difficult this process was for me without documentation. I suggest you to include this section in documentation wiki.

Good luck