Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | oa_locate-es.zip | 37.39 KB | javi2ruiz |
OA Language Error in Instalation Process.jpg | 115.49 KB | rflores |
Comments
Comment #1
nedjoI 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.
Comment #2
nedjoThat said, the place to look first is probably
oa_core_install_load_profile()
where, after callinginstall_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.Comment #3
javi2ruiz CreditAttribution: javi2ruiz as a volunteer commentedHi 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.
Comment #4
javi2ruiz CreditAttribution: javi2ruiz as a volunteer commentedMy 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.
Comment #5
hefox CreditAttribution: hefox at Phase2 commentedHm, 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.
Comment #6
GuillaumeDuveau+1 for #5