How To Properly Display Multi-Lingual Sites Para una correcta visualización multi-lingual sitios
§ Translator Contents Traductor Sumario
When you have sites in multiple languages you may notice, depending on your server configuration, that particular languages may not be displayed properly in browsers. Cuando haya sitios en múltiples idiomas usted podrá notar, dependiendo de su configuración del servidor, especialmente las lenguas que no pueden visualizarse correctamente en navegadores. And yet when you save the file and view it they display fine. Y, sin embargo, al guardar el archivo y ver que muestran multa. Here’s what happens and how you can fix it. Esto es lo que ocurre y cómo puedes solucionarlo.
This is a particularly perplexing problem and may affect some users of Este es un problema particularmente desconcertante y puede afectar a algunos usuarios de Angsuman’s Translator Plugin Pro Angsuman plugin del traductor Pro , a professional plugin to transform your blog automatically to 13 (in version 4.0; in testing) other languages. , Un profesional plugin para transformar su blog automáticamente a 13 (en la versión 4,0; en pruebas) otros idiomas. However it is in no way caused by or unique to the plugin. Sin embargo, no es en modo alguno causado por o único para el plugin. You will see the problem in any multi-lingual site(s) or sites where the server isn’t configured to properly handle the language. Verá el problema en cualquier multilingüe sitio (s) o sitios en los que el servidor no está configurado para manejar correctamente el idioma.
Fortunately there is a simple solution. Afortunadamente hay una solución simple.
The problem is caused when a default charset is specified in the web server configuration, which doesn’t match the language of the file. El problema es causado cuando un juego de caracteres por defecto se especifica en la configuración del servidor web, que no coincide con el idioma del archivo. A simple solution to this problem is to remove / comment out the default charset. Una solución sencilla para este problema es quitar / comentar el juego de caracteres por defecto. If you are using Apache HTTP server then open conf/httpd.conf (most likely in /etc/httpd/conf/httpd.conf) and search for AddDefaultCharset . Si está utilizando el servidor Apache HTTP a continuación, abra conf / httpd.conf (muy probablemente en / etc / httpd / conf / httpd.conf) y búsqueda de AddDefaultCharset. Make sure that the line is commented as follows: Asegúrese de que la línea se comenta de la siguiente manera:
#AddDefaultCharset UTF-8 # AddDefaultCharset UTF-8
Apache documentation also recommends it, albeit in a roundabout way: Apache documentación también recomienda que, aunque en una rotonda manera:
AddDefaultCharset should only be used when all of the text resources to which it applies are known to be in that character encoding and it is too inconvenient to label their charset individually. AddDefaultCharset sólo debe utilizarse cuando todos los recursos de texto para que se aplique, se sabe que están en esa codificación de caracteres y de que sea demasiado inconveniente para etiquetar sus caracteres individualmente. One such example is to add the charset parameter to resources containing generated content, such as legacy CGI scripts, that might be vulnerable to cross-site scripting attacks due to user-provided data being included in the output. Un ejemplo de esto es añadir el parámetro charset a los recursos que contienen contenido generado, como legado scripts CGI, que podrían ser vulnerables a cross-site scripting, debido a ataques de usuarios proporcionado datos que se incluye en la producción. Note, however, that a better solution is to just fix (or delete) those scripts, since setting a default charset does not protect users that have enabled the “auto-detect character encoding” feature on their browser. Nota, sin embargo, que una mejor solución a este problema es sólo arreglar (o eliminar) los guiones, ya que la fijación de un juego de caracteres por defecto no protege a los usuarios que han permitido a la "auto-detectar la codificación de caracteres" en función de su navegador.
Update: For WordPress blogs you have to unset the charset in options. Actualización: Para los blogs de WordPress tienes que o no el paquete como en las opciones de caracteres.
Filed under Filed under CMS Software CMS Software , Headline News Headline News , How To Cómo , Linux , Open Source Software Open Source Software , Pro Blogging Blogging Pro , Tech Note Nota técnica , Translator Plugin Pro Traductor plugin Pro , Web , Web Hosting Web Hosting , Web Services Web Services , WordPress | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artículo |
Email this Article Enviar artículo
You may also like to read También puede leer |





December 18th, 2006 at 11:04 am 18 de diciembre de 2006, a las 11:04 am
I’m running apache+mod_ssl-1.3.37+2.8.28. Estoy corriendo apache + mod_ssl-1.3.37 +2.8.28. Is this what you refer to above? ¿Es esto lo que hace referencia más arriba?
AddCharset ISO-8859-5 .iso-ru AddCharset ISO-8859-5. Iso-ru
AddCharset KOI8-R .koi8-r AddCharset KOI8-R. KOI8-R
AddCharset UCS-2 .ucs2 AddCharset UCS-2. Ucs2
AddCharset UCS-4 .ucs4 AddCharset UCS-4. Ucs4
AddCharset UTF-8 .utf8 AddCharset UTF-8. Utf8
Thanks, Gracias,