Hello guys

I recently installed Open Atrium 7.x-2.30 in my server using es.po file installed in /profiles/openatrium/translatios folder and then, selecting Spanish Language when started the installation process. All seems to go well until "Setup translation process" in which appears the next error:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'intranet.languages' doesn't exist

My questions are:

1.- There's a possibility of installing Open Atrium 2 in Spanish?

2.- If so, What is the right step-by-step procedure for installing Open Atrium 2 in Spanish Language?

Thankyou very much.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nedjo’s picture

I tracked down a parallel bug in Open Outreach to stray calls to install_profile_info(). See #2444675: Call to install_profile_info() breaks non-English installs and #2351823: Error when installing Open Outreach in language other than English. However, in a quick scan of the current Open Atrium download, I don't find any obvious candidates.

nedjo’s picture

That said, the place to look first is probably oa_core_install_load_profile() where, after calling install_load_profile(), the dependencies are reworked.

The specific issue is: install_profile_info() analyzes the $locale parameter to conditionally add the locale module to the list of dependencies (if $locale is set to other than 'en').

If this bug is still present, presumably either the function is being called prematurely or without the $locale parameter or the dependency data is being overwritten.

javi2ruiz’s picture

Hi rflores, I have the same problem as you.
Could you solve the problem? How?
I've thought about doing the installation in English and then change the setting to add the Spanish.
Thank you.

javi2ruiz’s picture

FileSize
37.39 KB

My solution was as follows:
0. Increase max_execution_time to 60.
1. Make a Quick installation in English.
2. Download all translations, all modules possible, at: https://localize.drupal.org/translate/downloads?project=openatrium.
Copy to: /profiles/openatrium/translations/ (you may need to create this directory)
3. Follow this tutorial to add the Spanish: https://www.drupal.org/node/1994706
Translations are automatically applied.

Attached a zip with all the translations I have used.
A greeting.

hefox’s picture

Hm, we likely should remove the quick install option if not installing English and add warning about why and instructions on how to do ^ as don't think want per language databases.

GuillaumeDuveau’s picture

+1 for #5