View Issue Details

IDProjectCategoryView StatusLast Update
0007630MMW v4Install/Configpublic2011-05-14 02:09
Reporterrusty Assigned To 
PriorityimmediateSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version4.0 
Target Version4.0Fixed in Version4.0 
Summary0007630: Languages can't be installed without direct internet connection
DescriptionReported by Gege:

Currently, the installer assumes DIRECT access to the Internet at install time. No other way to manage laguage packs is offered.

To illustrate the problems that can arise from this design, I've elaborated some use cases where the current implementation simply doesn't work as it should:


1) The case: Alice is installing MM4 in a computer that is behind a proxy and as a consequence when the installer tries to download the language pack an error occurs. This happens because the component used by the installer to download language packs simply cannot work with a proxy. Then, Alice gets stuck to english, because there's no other way to correct this after install.

The solution #1 (preferred): make the download component work with proxies, even those that ask for authentication. The system proxy settings should be used to discover the proxy address.

The solution #2: catch the proxy error and inform the user about it. Then give the user an option to open a webpage to download the language pack manually. Drawback: adding a language pack AFTER install will lead to MM opening in english on first run. As a consequence, some database entries (like Collection names) will be created in English, instead of localized.


2) The case: Bob is installing MM4 in a computer that doesn't have access to the Internet. He wants MM4 running in French in this computer, but sees no (easy) way to get this.

The solution: Same as Solution #2 above. Provide a webpage which allows manual dowload of desired language pack.


3) The case: Carlos is installing MM4 in a computer with Windows in english, but he also wants to run MM in spanish. Unfortunately, this is not possible because the installer checks and downloads one language pack only in the same language used by the system.

The solution: In Options > General, put a "More languages" link next to the language drop-down menu. This link points to the same webpage proposed above.
Additional InformationReported by Gege at: http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=56616

Regression from path changes within 1361:
http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=56983
TagsNo tags attached.
Attached Files
mm_lang.png (358,087 bytes)
langcombo.png (2,959 bytes)   
langcombo.png (2,959 bytes)   
Lang Sel.jpg (32,948 bytes)   
Lang Sel.jpg (32,948 bytes)   
Fixed in build1364

Activities

rusty

2011-04-05 18:59

administrator   ~0024064

I think that the following would suffice:

1) Since universal proxy support is near-impossible:

a) Add a link to the current error that appears in the installer:
Failed to download language files for: ________ (this string already exists)
You can [download language files manually]. (hyperlinked to http://www.mediamonkey.com/addons/language/)

b) Upon installation of a language MMIP file, MM should pop up the 'General' config panel, which allows users to select a language (OR automatically switch to the newly installed language).

2) Add 'Download more languages...' beneath the Language entry on the 'General' config panel (hyperlinked to http://www.mediamonkey.com/addons/language/)

peke

2011-04-05 22:10

developer   ~0024071

I was more thinking about another approach.

1. Selected Install Language is not available due the no Internet connection.
2. Install finishes normally
3. Install flags MM to check for Language Download selected in installation (Missing folder under Locale\ but MM Will show Installation Selected Language in Tools -> Options -> General)
4. Apron each MM startup Availability of Internet Connection and Language MMIP download is checked (Possible Progress/Status Bar should Show something like "Checking/Downloading Selected UI Language")
5. Apron successful download and install Folder will be created under Locale\ adn Mm would not need to Download it again.

NOTE As additional Feature: We can allow MM to Gather Available UI Translations and List it Tools -> Options -> General (Simple XML file so that we can support future Languages as they gets available) even they are not available for usage (maybe adding suffix "Finish (Download)" and as soon it is selected and OK is pressed to Options MM download manager will proceed to download and install selected language. This way we will include Direct downloading additional Languages within without needing to go on MM site to download them manually even they used English UI for MM installation (Example: I use English, but my wife would like to have MM in Serbian).

rusty

2011-04-06 02:20

administrator   ~0024072

I like Peke's idea as well. It could even be implemented so that users select languages in Options > General, and if the strings aren't local, they're downloaded.

Leaving with Jiri to decide what's easiest given the time we have.

gege

2011-04-06 10:57

reporter   ~0024075

Regardless the solution adopted inside MM, I think a web page like http://www.mediamonkey.com/addons/language/ should be available for manual download, so we can install lang packs in computers which are permanently off-line (case #2 above).

peke

2011-04-06 11:45

developer   ~0024076

To clear things, I was not suggesting to leave of manual downloading just make things easier within MM and while installing.

jiri

2011-04-06 13:43

administrator   ~0024077

Let's implement it this way:

A. First of all, we have to move Locale folder from 'Program Files\MM' to 'All Users\MM', because currently non-admin can't install languages. It involves:
A1. Change it in MM.exe, so that localizations all taken from the new folder only (no need for backward compatibility).
A2. Change language MMIPs, so that they install into the new location.
A3. Change the main installer to respect this change.
A4. For Portable mode - keep the old approach, don't use All Users folder.

B. Show _all_ languages in Options dialog. Those that aren't downloaded yet will have ' (Download)' suffix. This involves:
B1. Place all available language.mo files to the main installer.

C. When:
C1. MM is started, or
C2. Options dialog is OKayed
and the configured language isn't downloaded yet, a dialog 'Downloading localization...' (can be in English, no need to localize since MM won't have the correct localization anyway) is shown and the correct MMIP is downloaded and installed.

D. We also should review the current Proxy implementation in order to make it work correctly as often as possible, so that the above scenario isn't needed too often.

jiri

2011-04-06 13:43

administrator   ~0024078

Implemented A&B in build 1361, leaving C&D for Ludek.

rusty

2011-04-06 17:22

administrator   ~0024080

OK, so this will definitely make the post-installation language process easier, but in the absence of some other UI changes to allow for manual download of language files, it doesn't solve the issue originally raised by Gege. i.e. Now if the user installs MM and a direct connection is absent, then upon running MM it'll try to download the file, BUT:
1) in most cases, the user will not have configured the proxy settings in MM, so the file will still fail to download
2) there's no error message (in MM proper) to indicate a problem / solution

So to fully solve this we can:
E. In MM, display the error dialog that appears in the installer

F. Add a 'Download' button to the error dialog linking to http://www.mediamonkey.com/addons/language/ so that the user can manually download the file via their browser (which presumably can connect).

The only question remaining is whether it's somehow possible to have the file downloaded and installed before MM creates a DB based on the English source files (to prevent untranslated node / playlist names, etc.).

gege

2011-04-06 19:32

reporter   ~0024091

Last edited: 2011-04-06 19:36

Regarding Item A, 'Locale' folder is going to 'All Users\Locale' instead of 'All Users\MediaMonkey\Locale' in build 1361.

jiri

2011-04-06 21:28

administrator   ~0024093

Locale folder location fixed in build 1362.

C-F remains for Ludek.

peke

2011-04-06 22:14

developer   ~0024094

E. I think that we already handle this in install.PO with error messages that can be used in MM installation. I think that Petr should handle this

F. As there is already confirmed error and no connection to internet to download language MMIP (No matter the reason) Dialog should clearly show that MM with try to download it on next startup or user can DL it manually from http://www.mediamonkey.com/addons/language/ )download button will not have any effect as there is no connection)

G. On MM startup in case that there is still no connection dialog should Show 'something like:
"Language File can't be downloaded try to Download and install it manually from http://www.mediamonkey.com/addons/language/
[] Do not show this dialog anymore"

peke

2011-04-07 00:29

developer   ~0024099

Last edited: 2011-04-07 00:30

H. Small tweak on Listing languages:
  1. Available Languages (Installed) should be listed first
  2. All other Language that can be downloaded should be appended after Available languages and not Mixed with available like it is in 1361

NOTE for Folders: until we release 1362+ version Quick fix for users is explained in http://www.mediamonkey.com/forum/viewtopic.php?p=293614#p293614

rusty

2011-04-07 17:49

administrator   ~0024111

Note: re. F/G, I think that the originally suggested solution of just including a [Download] button would be fine. This _will_ solve the connection in most cases, if the problem is proxy related. If the problem is related to lack of a physical connection, then the dialog might be a bit annoying, but the user can just change the default language to stop the error.

peke

2011-04-07 22:23

developer   ~0024117

Last edited: 2011-04-07 22:24

Note: I agree, I only wondered which one would be faster to implement in current MM 4.0 state.

G: to avoid annoyances I added "[] Do not show this dialog anymore" to not show dialog.

Ludek

2011-04-08 15:32

developer   ~0024127

Last edited: 2011-04-08 15:44

Fixed in build 1362.

Note that the all language MMIPs were renamed from Czech.mmip to cs.mmip
New batches are in SVN

New MMIPs are on our FTP

petr

2011-04-11 13:15

developer   ~0024201

Some of the languages are corrupted in Options dialog (e.g. instead of Japanese is '?????' text).

peke

2011-04-11 16:58

developer   ~0024216

I'm guessing that it is normal due the Codepage you do not Have installed. It Shows OK on Mine.

rusty

2011-04-11 18:40

administrator   ~0024224

I'm not sure about that--the installer always displays the language properly--it's only within MM that the language displays incorrectly.

petr

2011-04-11 18:40

developer   ~0024225

Last edited: 2011-04-11 18:45

No, Peke. Check attachment i've uploaded.
Edit: even worse, when i'm have Greece as selected language, all 'download' texts are corrupted in Language combo (uploaded image langcombo).

Ludek

2011-04-11 19:39

developer   ~0024231

It seems to work correctly on skinless, but doesn't work on skinned.

Ludek

2011-04-11 21:11

developer   ~0024237

Fixed in build 1364.

peke

2011-04-11 21:12

developer   ~0024238

Last edited: 2011-04-11 21:14

Strange I was able to replicate on PC that my wife uses (Win7Pro x86), but not on mine (Win7Ultimate x64). I used 1363 for testing See Lang Sel.jpg

peke

2011-05-14 02:09

developer   ~0025217

Verified 1374