[Plugin: WP phpBB Bridge] Accents
-
Hi there,
i would like to know what i have to edit to allow the plugin showing the accents of the spanish words.
Is it possible ? Thanks.
-
Hello π
First of all you have to download the poedit from here : http://www.poedit.net/download.php
Then you have to open the file /wp-content/plugins/wp_phpbb_bridge/languages/wp_phpbb_bridge-en.po with the poedit. Make any change you like and finaly save the project as wp_phpbb_bridge-es.po
Finally we will be huppy to share you translation with our plugin.
Kind regards
The Greek WordPress Community πPS: When you finish, you can send the translation to support@wordpress-gr.org
Hi there,
i did that and i’m sending you the translated files, but that wasn’t my question. I did explained myself wrong.
This is my issue
http://i51.tinypic.com/i1l4c0.jpg
Whenever a topic in the forum has and accent, like “PresentaciΓ³n” the plugin smoke crack.
Thanks
Kind regards about your translation.
Maybe you have wrong encoding in your page. Try the utf-8.
May this help. If not contact as back again π
No problem, it took me a couple of minutes, i’m glad i could help.
I’m sure that’s the problem, but whad do i have to change ? WP or phpBB? wp-config ? Would it be safe ?
Thanks.
To play with character set in WordPress there are several ways.
To get the character set from this page wp-admin/options-reading.php into your theme you can Use that code
<meta http-equiv="content-type" content="text/html; charset=<?php bloginfo('charset'); ?>" />Otherwise you can access your theme and change the current encoding with this one
<meta http-equiv=”content-type” content=”text/html; charset=utf-8″ />
In phpBB3 you have to modify the file /includes/functions.php. You have to search for the record S_CONTENT_ENCODING and change it’s value to the UTF-8.
After that changes you will propably not have anymore problem π
Hello,
I have the same problem. I am using cyrillic characters (Bulgarian language) and I have UTF-8 everywhere. I still get the ? for each non-english character. How can I fix that?
Thank you.
Yes, it didn’t work and i just removed the widget since i don’t know how to fix it.
The plugin works great managing the users between phpbb and wordpress, but the widget, it just don’t work.
I don’t realy know what’s going wrong with you π
I did a re-search in the plugin, and every file is saved in UTF-8, also the translation files are in UTF-8. So I can’t find the source of the problem. π
In next version I will try to find the reason, but I can’t find it for now π
Hi, sorry for my english
The problem that have @kokohv is that the collation of the phpbb database is different from utf8. The solution is to write the following line before submit a query to the phpbb database:@mysql_query('SET CHARACTER SET UTF8', $cn);I added it in widget-posts.php before:
$rs = @mysql_query ($qr, $cn);and the problem was solved.
I hope I have helped.
Thank you very much. It did worked smoothly.
bworth,
Thank you! Perfect solution I think.I’m fairly new to WordPress files, etc, but am comfortable with code – can anyone explain a little more what @bworth has suggested? I’m sure that’s the answer to all my Greek showing up as ???. I would appreciate it!
Hi,
you should do the following:
1. Open widget-posts.php
2. Go to the line where this piece of code is:
$rs = @mysql_query ($qr, $cn);
3. Add this line of code above it:
@mysql_query('SET CHARACTER SET UTF8', $cn);
4. So the final code looks like this:@mysql_query('SET CHARACTER SET UTF8', $cn); $rs = @mysql_query ($qr, $cn);
The topic ‘[Plugin: WP phpBB Bridge] Accents’ is closed to new replies.