To reproduce this do:
1. drush dl panopoly
2. Download translation package .po (in my case Finnish) in /profiles/panopoly/translations
3. Create a database
4. Go to the project url -> installing starts
5. Choose Panopoly as your installation profile
6. Installation skips 'Choose language' and 'Verify requirements' and stops to 'Set up database' stage
Installing the standard profile works correctly. I tried to check the issue with debugger. With Panopoly profile it didn't run the function install_select_locale in install.core.inc. I couldn't find the reason why. I'm not familiar with the installation process.
Comment | File | Size | Author |
---|---|---|---|
#6 | 1897336-conditionally-disable-locale-selection.patch | 903 bytes | populist |
Comments
Comment #1
shadcn CreditAttribution: shadcn commentedYep. Panopoly automatically sets the locale to 'en' (for now). See:
http://drupalcode.org/project/panopoly.git/blob/refs/heads/7.x-1.x:/pano...
http://drupalcode.org/project/panopoly_core.git/blob/refs/heads/7.x-1.x:...
Comment #2
jiv_e_old CreditAttribution: jiv_e_old commentedThanks for the info!
What is the preferred way to get Panopoly to work on other languages?
Comment #3
populist CreditAttribution: populist commented#1 is correct that Panopoly specifies English as the default through a hook_install_tasks_alter() function panopoly_core_install_locale_selection(). This may be a little too ambitious and should probably *only* apply when there is only one language on scene. I changed the ticket to reflect that needed work.
Comment #4
populist CreditAttribution: populist commentedPostponing till later
Comment #5
populist CreditAttribution: populist commentedMaking this active since we can probably get this in for RC4.
Comment #6
populist CreditAttribution: populist commentedHere is a patch that changes the conditional here from ALWAYS ENGLISH to only english if there are no other languages.
Comment #7
populist CreditAttribution: populist commentedCommitted up to -dev.