Hi,
I've installed last BOA 2.0.4 and when I created sites using the default Octopus platform CiviCRM 4.2.6 7.17.1 P.001 the only language available in the CiviCRM Localization admin form was English (United States).
Checking the platform I saw that the civicrm localization package, it's included within civicrm module, but the .po files are in this folder: civicrm/civicrml10n/l10n
When the civicrm CRM_Core_I18n::languages() (method which populates the language dropdown) looks for them in the folder: civicrm/l10n
I moved the l10n folder to civcrm root module folder and all the languages were detected.
It's weird because we have an Omega8.cc Octopus instance as well, and this didn't happen with civicrm platforms.
cheers
Comments
Comment #1
omega8cc CreditAttribution: omega8cc commentedSo it looks like we are doing it wrong, since we just download and extract the package as-is using just the makefile. We should also do something like
`mv civicrm/civicrml10n/l10n civicrm/`
. I think we just copied some example makefile from provision_civicrm at some point and it went unnoticed.See also: #1133808: example make file fails with "Directory not empty"
Comment #2
omega8cc CreditAttribution: omega8cc commentedFix committed: http://drupalcode.org/project/octopus.git/commit/8c00d06
Thanks.
Comment #3
sluc23 CreditAttribution: sluc23 commentedIt was supposed to be fixed in BOA 2.0.5, but I upgraded and the folder l10n is still in the path civicrm/civicrml10n/l10n, when it should be civicrm/l10n.
I've checked the platform civicrm-4.2.6-7.18.1 (BOA 2.0.5) in my own local installation and in omega8.cc web application as well. None of them show all the languages available
I re-opened the issue
cheers!
Comment #4
omega8cc CreditAttribution: omega8cc commentedUh, sorry - it is because the package has different directory name in different versions, so we have fixed it only for
civicrm-4.1.6
andcivicrm-3.4.8
where its name iscivicrm_l10n
, while incivicrm-4.2.6
it iscivicrml10n
.Comment #5
omega8cc CreditAttribution: omega8cc commentedShould be fixed now: http://drupalcode.org/project/octopus.git/commit/62950e2
Thanks for the heads up!
Comment #6
omega8cc CreditAttribution: omega8cc commentedThe hot-fix:
Comment #7
sluc23 CreditAttribution: sluc23 commentedpatch applied and working fine!
tx