Actualización 2.0, problemas con get_string()

Actualización 2.0, problemas con get_string()

de Alejandro Michavila Pallarés -
Número de respuestas: 3
Hola,

Acabo de migrar de la versión 1.9.9 a la 2.0 y todo ha ido perfecto, pero el problema viene a la hora de resolver las cadenas de idiomas para algunos módulos, como el hotpot, me aparece lo siguiente:

Invalid get_string() identifier: 'modulename' or component 'mod_hotpot'
  • line 5910 of /lib/moodlelib.php: call to debugging()
  • line 6464 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 16 of /admin/settings/plugins.php: call to get_string()
  • line 5505 of /lib/adminlib.php: call to require()
  • line 5399 of /lib/adminlib.php: call to admin_get_root()
  • line 12 of /admin/modules.php: call to admin_externalpage_setup()
Invalid get_string() identifier: 'showtimes' or component 'hotpot'
  • line 5910 of /lib/moodlelib.php: call to debugging()
  • line 6464 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 3 of /mod/hotpot/settings.php: call to get_string()
  • line 20 of /admin/settings/plugins.php: call to include()
  • line 5505 of /lib/adminlib.php: call to require()
  • line 5399 of /lib/adminlib.php: call to admin_get_root()
  • line 12 of /admin/modules.php: call to admin_externalpage_setup()
Invalid get_string() identifier: 'configshowtimes' or component 'hotpot'
  • line 5910 of /lib/moodlelib.php: call to debugging()
  • line 6464 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 4 of /mod/hotpot/settings.php: call to get_string()
  • line 20 of /admin/settings/plugins.php: call to include()
  • line 5505 of /lib/adminlib.php: call to require()
  • line 5399 of /lib/adminlib.php: call to admin_get_root()
  • line 12 of /admin/modules.php: call to admin_externalpage_setup()
Invalid get_string() identifier: 'excelencodings' or component 'hotpot'
  • line 5910 of /lib/moodlelib.php: call to debugging()
  • line 6464 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 6 of /mod/hotpot/settings.php: call to get_string()
  • line 20 of /admin/settings/plugins.php: call to include()
  • line 5505 of /lib/adminlib.php: call to require()
  • line 5399 of /lib/adminlib.php: call to admin_get_root()
  • line 12 of /admin/modules.php: call to admin_externalpage_setup()
Invalid get_string() identifier: 'configexcelencodings' or component 'hotpot'
  • line 5910 of /lib/moodlelib.php: call to debugging()
  • line 6464 of /lib/moodlelib.php: call to core_string_manager->get_string()
  • line 7 of /mod/hotpot/settings.php: call to get_string()
  • line 20 of /admin/settings/plugins.php: call to include()
  • line 5505 of /lib/adminlib.php: call to require()
  • line 5399 of /lib/adminlib.php: call to admin_get_root()
  • line 12 of /admin/modules.php: call to admin_externalpage_setup()
Alguien sabe ¿qué es lo que ha podido pasar?.

Gracias de antemano, un saludo.
Promedio de valoraciones: -
En respuesta a Alejandro Michavila Pallarés

Re: Actualización 2.0, problemas con get_string()

de Alejandro Michavila Pallarés -
Solucionado: Resulta que las carpetas de idiomas ahora se llaman "en" en lugar de "en_utf8".
En respuesta a Alejandro Michavila Pallarés

Re: Actualización 2.0, problemas con get_string()

de Alejandro Michavila Pallarés -
¿Alguien sabe por qué no se actualizan los valores de las cadenas al cambiar su valor para un módulo en 2.0?.