Current time: 05-24-2012, 05:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
French language pack problem
12-23-2009, 09:44 PM
Post: #1
French language pack problem
In my admin panel of MyBB 1.4.10, in the "Paramètres" section, in place of all the accents, I see a � or ?. Why is this?
Find all posts by this user
Quote this message in a reply
12-24-2009, 08:37 PM (This post was last modified: 12-24-2009 09:09 PM by spyto.)
Post: #2
RE: French language pack problem
Salut,

Si tu pouvais préciser où exactement STP...

Ces caractères bizarres, c'est un seul ou plusieurs ?

Merci des précisions.


EDIT :
J'ai installé MyBB 1.4.10 anglais en local (XAMMP). Puis j'ai mis les fichiers du langpack fr.
Tout me semble fonctionner correctement !?
Peut-être un souci d'encodage de la base ?

I installed MyBB 1.4.10 english onto local server (XAMMP), then I put the french langpack files.
All seems working fine !?
Perhaps an encoding problem with the database ?

Merci de repréciser le type d'erreur.
Thanks for telling more about that error.
Find all posts by this user
Quote this message in a reply
12-25-2009, 04:03 PM
Post: #3
RE: French language pack problem
Je pense que c'est un problème avec mon hébergeur. J'ai déjà eu ce genre de problème. Mais si ça peut aider, voici deux captures d'écran que j'ai pris de mon ACP.
   
Paramètres.

   
Variables de langues.

Comme il est possible de le constater, parfois c'est des ? à la place des accents, parfois c'est ces étranges �.
Find all posts by this user
Quote this message in a reply
12-26-2009, 07:57 PM
Post: #4
RE: French language pack problem
Oui, je vois...

Mais le souci (si l'on peut dire), c'est que je n'arrive pas à reproduire ce comportement !!!

Chez moi, tout est OK.
Je suppose que c'est un problème d'hébergeur ou plus précisément un problème d'encodage au niveau de la BD ?

Tous les fichiers sont en UTF-8, y compris /admin/config_settings.lang.php, comme cité dans le screenshot.

Le seul truc, c'est que je crois que j'ai enregistré par erreur /inc/languages/french/admin/config_settings.lang.php en UTF-8 avec signature Unicode (BOM), mais je pense que ça n'a aucune importance, en tout cas dans mon cas...

A part ça, je ne vois qu'un souci d'encodage.

Est-ce que dans "Outils et Maintenance", onglet "Conversion UTF-8", toutes les tables sont bien en UTF-8 ?
Find all posts by this user
Quote this message in a reply
12-29-2009, 10:14 AM
Post: #5
RE: French language pack problem
This is a nasty problem. You can work around it by replacing the accented letters in the corresponding language file by their HTML entities. That is, replace an é by é and è by è and so forth.
Find all posts by this user
Quote this message in a reply
01-02-2010, 09:59 PM
Post: #6
RE: French language pack problem
(12-26-2009 07:57 PM)spyto Wrote:  Est-ce que dans "Outils et Maintenance", onglet "Conversion UTF-8", toutes les tables sont bien en UTF-8 ?
Quelques uns ne l'étaient pas. Je les ai changés, mais à aucun effet.

(12-29-2009 10:14 AM)Tochjo Wrote:  This is a nasty problem. You can work around it by replacing the accented letters in the corresponding language file by their HTML entities. That is, replace an é by é and è by è and so forth.
Is that the only way? Seems rather tedious to me...
Find all posts by this user
Quote this message in a reply
01-07-2010, 07:10 PM
Post: #7
RE: French language pack problem
I stopped looking for other ways when I noticed this works. Indeed, it is a bit tedious to replace all accented characters by their HTML entities, but this only needs to be done in settings.lang.php, right? Also, you could simply search and replace é by é and so on.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication