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

omega8cc’s picture

Status: Active » Needs work

So 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"

omega8cc’s picture

Status: Needs work » Fixed
sluc23’s picture

Status: Fixed » Active

It 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!

omega8cc’s picture

Status: Active » Needs work

Uh, sorry - it is because the package has different directory name in different versions, so we have fixed it only for civicrm-4.1.6 and civicrm-3.4.8 where its name is civicrm_l10n, while in civicrm-4.2.6 it is civicrml10n.

omega8cc’s picture

Status: Needs work » Fixed

Should be fixed now: http://drupalcode.org/project/octopus.git/commit/62950e2

Thanks for the heads up!

omega8cc’s picture

The hot-fix:

wget -U iCab http://files.aegir.cc/update/civicrm-fix.sh.txt
bash civicrm-fix.sh.txt
rm civicrm-fix.sh.txt
sluc23’s picture

patch applied and working fine!

tx

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.