• Currently i’m trying to develop something using wordpress & bbpress.
    Everything flows pretty good when talking on functionality and the rest of features, but there is a problem.
    Actually 2 problems. First I already posted here: https://bbpress.org/forums/topic/867
    And now the second one:
    The final release has to be in another language but english. It’s true, I found no troubles translating bbpress in my language and the rest of updated wordpress. But after what I’ve integrated both of api’s: the wordpress and bbpress; this resulted in the following error:
    Fatal error: Cannot redeclare class streamreader in /var/www/pm/forum/bb-includes/streams.php on line 26
    I suppose it’s because of the translations, cause when I did not defined BBLANG, everything worked well.
    After a bit I thought, that a solution for my problem can be joining both of the bbpress and wordpress translation .mo’s and defining just WPLANG for my language settings. That worked, but I dont see this as a pretty simple and accessible solution for everybody!
    I would be glad getting some help on that, If there is any other more easier solution, that would be cool.

Viewing 15 replies - 1 through 15 (of 16 total)
  • How where you able to combine twee .mo files?

    Thread Starter c00l2sv

    (@c00l2sv)

    I just installed poedit and opened both of the po files, actually I placed those in the same directory where were the wordpress and bbpress files. I configured the poedit to scan what and where I need and it just made his job. Of course you’ll have to check all the entries manually cause some of those might become ‘fuzzy’.
    If you want I can post here a link to my po (bbpress and wordpress combined po’s into a single po) file, but it is in another language (Romanian), but if you know how poedit works then my file will be easier to translate then to ‘join’ everything from the ‘0’!
    Leave a reply if you managed to succeed or need more help!

    Thank you for your reply.
    i have poedit version 1.3.6 and it only allows me the open one file. I tried copying both files into 1 file with notepad, but that just gave errors.

    How can I loas 2 .po files with poedit?

    Anyone?

    Thread Starter c00l2sv

    (@c00l2sv)

    Hi!
    No, no, no…
    You need first to create a language database. Check out the options. Then you need to place both of your instalations into a directory.
    For example:
    wordpress/
    |
    +——–bbpress/
    Then you’ll have to scan this path with poedit for the keywords (i suppose you already set that. “_e” and “__” are the keywords).
    The next depends to you.

    Is there a tutorial for this with screenshot? What ever directory I try, it cannot find anything and gives errors.

    Thread Starter c00l2sv

    (@c00l2sv)

    To avoid such situations we should better report this thread as a ticket for further evaluation by wordpress team.

    How do I do that?

    I’m having the same problem. Can somebody go into more detail on how to merge two po-files? Please! ??

    Thread Starter c00l2sv

    (@c00l2sv)

    what do you mean saying “more detail”?

    I guess I need a step-by-step tutorial on merging the files. Having a bit of a hard time understanding poedit! Go to options, I choose my po-files, hit generate database – nothing happens?

    Thread Starter c00l2sv

    (@c00l2sv)

    Then you should read the poedit help file. If you know how to use it, it’s not a big deal on merging 2 po’s. The step by step tutorial can be read here, everything it’s written here make things done. If you’ll wait for a bit, I’ll post a tutorial on my blog in the nearest future. Good luck!

    Thread Starter c00l2sv

    (@c00l2sv)

    I’m also ready to help you if something goes wrong… But I cant write a tutorial on how to use poedit.

    I got it working to an extent at least. Thanks for the help! I’m still gonna need that tutorial on your blog though to make it perfect ??

    I am really desperate…I just can’t get the language localisation to work… I’ve spent lots of time by trying to merge the language files but I didn’t succes ??

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Latest WordPress & bbPress in another language!’ is closed to new replies.