Diferencia entre revisiones de «Idioma FAQ»

De MoodleDocs
m (tidy up)
m (tidy up)
Línea 29: Línea 29:


Vea [https://docs.moodle.org/24/en/Language_FAQ Language FAQ]
Vea [https://docs.moodle.org/24/en/Language_FAQ Language FAQ]
==Where can I set the default language for the site?==
''Site Administration > Language > [[Language settings]]''
==How can I change a word or phrase used in Moodle?==
In ''Settings > Site Administration > Language > Language customization''.
See [[Language customization]] for details.
==How can I find where a language string is located?==
Tick the 'Show origin of languages strings' checkbox in ''Settings > Site administration > Development > Debugging'' then visit the page containing the string you want to customize.
==Why are my changes not saved if I edit a language pack with the Moodle language pack editor?==
This could be caused by a PHP accelerator. Try switching it off (usually in php.ini).
==I've set a default site language but when I log in it switches to English. Why?==
By default, Moodle detects a user's language from their browser setting. This language auto-detection may be disabled so that the default site language is used instead in ''Site administration > Language > [[Language settings]]''.
==How can I provide course content in more than one language?==
Labels, web pages, activity descriptions etc. may be provided in more than one language using the [[Multi language content|Multi language content filter]].
==How can I provide course headings in more than one language?==
Set the multi language content filter to apply to content AND headings in ''Settings > Site administration > Plugins > Filters > Manage filters''.
==How can I disable (hide) the language dropdown menu on the site front page?==
Go to ''Settings > Site administration > Language > Language settings'' and un-tick the 'Display language menu' checkbox.
==Are there any short cuts for editing a language?==
Yes, but be careful.  You can make use of the customize language process.  Basically copy the php files that contain the strings you want to change to the moodledata/lang/local folder.  For example, copy the /lang/en/moodle.php file to someplace.  Edit the file with a search and replace with whole word and case sensitive turned on, change Teacher to Instructor and Teachers to Instructors, do the same for teacher and teachers.  Now copy that saved copy of the moodle.php file to the  moodledata/lang/en_local folder.  Be careful not to change the String name.
Because it is a customization, Moodle will not erase the xx_local language files in Moodledata with an upgrade.  Moodle will upgrade any language folders it finds in the moodle/lang folder.
==Is it possible to customise language strings per theme?==
Not by default, as when strings are customised, they are customised for the whole site. However, it is possible to make a new language  pack based on your main language and apply that pack to the course which has the theme. See this forum post for more information: https://moodle.org/mod/forum/discuss.php?d=220671
==How can I make a new language pack?==
See [[Translation]]. Even though your new language pack might be in a version of English (such as "Pirate talk!") it is still classed as a translation.
== See also ==
* [[Translation FAQ]]
* Using Moodle [http://moodle.org/mod/forum/view.php?f=26 Languages forum]
Using Moodle forum discussions
* [http://moodle.org/mod/forum/discuss.php?d=131927#p604462 Edited Strings Not Visible]
* [http://moodle.org/mod/forum/discuss.php?d=163375 Language customization in 2.0]
[[Category:FAQ]]
[[fr:FAQ de langue]]
[[de:Sprache FAQ]]
[[en:Language FAQ]]

Revisión del 23:44 8 jul 2013


¿Hay diferencias importantes entre el Español internacional, el Español de México, el Español de Argentina y el Español de España?

Sí.

¿Cuales son estas diferencias?

Vea las páginas del Español de México y del Español internacional.

¿Es necesario/conveniente actualizar cada cierto tiempo los paquetes de idioma?

  • Todos los paquetes de idioma diferentes al inglés deberían de actualizarse con frecuencia.
  • Como lo expresara el responsable de las traducciones para Moodle, las traducciones son un trabajo en progreso, y los traductores contínuamente amplían y mejoran las traducciones disponibles y se corrigen errores humanos.
  • Una vez por semana es un plazo razonable para actualizar los paquetes de idioma.
Administración del sitio > Idioma > Paquetes de idioma > Actualizar todos los paquetes de idioma instalados.


Problemas con los nombres de los meses que aparecen en inglés en el calendario de Moodle

En el archivo langconfig.php hay dos cadenas que tienen efecto sobre los nombres de los meses en el calendario:

  • locale,core_langconfig "locale para servidores *nix (Unix, Linux)".
Si su calendario de Moodle no tiene los nombres de los meses traducidos, eso significa que esta cadena de texto está mal configurada

(o que su servidor no está configurado para soportar el idioma)

  • localewin,core_langconfig "locale para servidores Windows."
Si su calendario de Moodle no tiene los nombres de los meses traducidos, eso significa que esta cadena de texto está mal configurada
(o que su servidor no está configurado para soportar el idioma).

Existen varios idiomas que no son soportados por servidores Windows y en estos no se puede configurar el localewin del servidor. En ese caso, usted tiene que correr su Moodle en un servidor *nix (Unix o Linux) para hacer la traducción del trabajo en su calendario de Moodle

Vea Language FAQ

Where can I set the default language for the site?

Site Administration > Language > Language settings

How can I change a word or phrase used in Moodle?

In Settings > Site Administration > Language > Language customization.

See Language customization for details.

How can I find where a language string is located?

Tick the 'Show origin of languages strings' checkbox in Settings > Site administration > Development > Debugging then visit the page containing the string you want to customize.

Why are my changes not saved if I edit a language pack with the Moodle language pack editor?

This could be caused by a PHP accelerator. Try switching it off (usually in php.ini).

I've set a default site language but when I log in it switches to English. Why?

By default, Moodle detects a user's language from their browser setting. This language auto-detection may be disabled so that the default site language is used instead in Site administration > Language > Language settings.

How can I provide course content in more than one language?

Labels, web pages, activity descriptions etc. may be provided in more than one language using the Multi language content filter.

How can I provide course headings in more than one language?

Set the multi language content filter to apply to content AND headings in Settings > Site administration > Plugins > Filters > Manage filters.

How can I disable (hide) the language dropdown menu on the site front page?

Go to Settings > Site administration > Language > Language settings and un-tick the 'Display language menu' checkbox.

Are there any short cuts for editing a language?

Yes, but be careful. You can make use of the customize language process. Basically copy the php files that contain the strings you want to change to the moodledata/lang/local folder. For example, copy the /lang/en/moodle.php file to someplace. Edit the file with a search and replace with whole word and case sensitive turned on, change Teacher to Instructor and Teachers to Instructors, do the same for teacher and teachers. Now copy that saved copy of the moodle.php file to the moodledata/lang/en_local folder. Be careful not to change the String name.

Because it is a customization, Moodle will not erase the xx_local language files in Moodledata with an upgrade. Moodle will upgrade any language folders it finds in the moodle/lang folder.

Is it possible to customise language strings per theme?

Not by default, as when strings are customised, they are customised for the whole site. However, it is possible to make a new language pack based on your main language and apply that pack to the course which has the theme. See this forum post for more information: https://moodle.org/mod/forum/discuss.php?d=220671

How can I make a new language pack?

See Translation. Even though your new language pack might be in a version of English (such as "Pirate talk!") it is still classed as a translation.

See also

Using Moodle forum discussions