Author Topic: "Invalid file type" message while uploading language file  (Read 9138 times)

0 Members and 1 Guest are viewing this topic.

borro

  • Full Member
  • ***
  • Posts: 12
"Invalid file type" message while uploading language file
« 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

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: "Invalid file type" message while uploading language file
« Reply #1 on: July 02, 2015, 02:54:37 PM »
You have to unzip (untar) the package and put files into "mibew/locales/<locale code>" directory.

borro

  • Full Member
  • ***
  • Posts: 12
Re: "Invalid file type" message while uploading language file
« Reply #2 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?
« Last Edit: July 03, 2015, 08:34:35 AM by borro »

Dmitriy Simushev

  • Moderator
  • Native
  • *****
  • Posts: 345
Re: "Invalid file type" message while uploading language file
« Reply #3 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.

borro

  • Full Member
  • ***
  • Posts: 12
Re: "Invalid file type" message while uploading language file
« Reply #4 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