4842 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Theme Designer
—
8th October 2011 (7 months ago)
#
I think we've caught a bug here can you please try the attached file instead of the functions.php you have now. If this works I'll then update the core.
4842 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Theme Designer
—
8th October 2011 (7 months ago)
#
That one line is the only difference there is no other bp_mag reference. Your file should work for translation using that new functions.php.
What lines exactly are you removing in functions.php as you shouldn't have to with the new functions.php? Also not sure what sutio or bp_mag is as neither are referenced... do you mean Studio?
4842 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Theme Designer
—
8th October 2011 (7 months ago)
#
The way translation works is it either works fully or doesn't work at all. It makes no sense or even would only work partially like this.
I need you to recompile and check your language files again to be sure. That part wasn't even edited in the recent update the functions.php was yes but footer.php was not. You also have a fix for functions.php which if you are using in the parent theme and / or child if required, should be solving that one issue I fixed.
4842 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Theme Designer
—
8th October 2011 (7 months ago)
#
One of the issues previously was with people updating the parent theme and loosing files. As a result the path for languages is a folder that doesn't exist in the theme. I said this on the theme release but don't worry I'll make sure this also gets put into documentation if is the issue.
If you don't have that folder please create it and put your file in there.
2227 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Lifetime member!
—
9th October 2011 (7 months ago)
#
the issue with slugs is not a translation problem but slug problem. If I set a specifica slug for "activity" to "activites", the page works fine with BP on a direct call but the links in the panel remain default ones : activity.
The translation is fully operationnal also in the panel.
Responses (19)
Sales & Support Lead — 7th October 2011 (7 months ago) #
Hiya Aphrodite,
That's no fun. Are you using a child theme here? You need to do a few things to make these work as BuddyPress changed rather radically for the latest version:
http://premium.wpmudev.org/forums/topic/important-buddypress-15-theme-updates
Let us know if that helps. We'll take a look at the internationalization files.
Thanks!
Lifetime member! — 7th October 2011 (7 months ago) #
no i dont have any custom syle.
If i uncomment the lines in function.php i have
Parse error: syntax error, unexpected ',', expecting ')' in /home/mgr/public_html/wp-content/themes/studio-child/functions.php on line 5
huh guy is thi linenormal in main theme function.php :
define('TEMPLATE_DOMAIN', 'bp_magazine');
Theme Designer — 8th October 2011 (7 months ago) #
I think we've caught a bug here can you please try the attached file instead of the functions.php you have now. If this works I'll then update the core.
Lifetime member! — 8th October 2011 (7 months ago) #
well, no change at all... for the translation issue nore the footer feature section. .
Lifetime member! — 8th October 2011 (7 months ago) #
In fact I had the idea to change the file and rest the 'sutio' instead of "bp_mag' in the file. But there must be something else...
Theme Designer — 8th October 2011 (7 months ago) #
That one line is the only difference there is no other bp_mag reference. Your file should work for translation using that new functions.php.
What lines exactly are you removing in functions.php as you shouldn't have to with the new functions.php? Also not sure what sutio or bp_mag is as neither are referenced... do you mean Studio?
Lifetime member! — 8th October 2011 (7 months ago) #
I mean studio. The original function.php mentionend bp_mag in the local file load baut already changed it.
As you can see (i uploaded the new file) there is no change :(
still does not apply.
Theme Designer — 8th October 2011 (7 months ago) #
The way translation works is it either works fully or doesn't work at all. It makes no sense or even would only work partially like this.
I need you to recompile and check your language files again to be sure. That part wasn't even edited in the recent update the functions.php was yes but footer.php was not. You also have a fix for functions.php which if you are using in the parent theme and / or child if required, should be solving that one issue I fixed.
Lifetime member! — 8th October 2011 (7 months ago) #
the translation does not apply AT ALL in fact.
Dont understand the parent child issue tou are telling me :)
Theme Designer — 8th October 2011 (7 months ago) #
I'm not saying there is any issue I am saying that you need to follow the new steps for the child theme nothing more.
I'm going to flag Mason see if he can help as the language works for me and need to get another opinion on this one.
Theme Designer — 8th October 2011 (7 months ago) #
Where have you put your language files?
See this:
In functions.php. We're using this for our themes according to theme guidelines.
If you are not putting your files under languages/ can you try that please?
Lifetime member! — 8th October 2011 (7 months ago) #
huh there is a language folder in /library/ in the theme download. As usual I put it in it simply !
you mean the language folder must be in the theme root folder ?
Theme Designer — 8th October 2011 (7 months ago) #
One of the issues previously was with people updating the parent theme and loosing files. As a result the path for languages is a folder that doesn't exist in the theme. I said this on the theme release but don't worry I'll make sure this also gets put into documentation if is the issue.
If you don't have that folder please create it and put your file in there.
Lifetime member! — 9th October 2011 (7 months ago) #
ok
so I created the folder and placed the mo files into it unfortunatly with no success for the moment :(
Theme Designer — 9th October 2011 (7 months ago) #
Ok lets take a few steps back here as I can do this using the file I gave you so...
1. Grab the functions.php zip attached to this comment as I just put it back on here and used the same one. Put this in your parent theme.
2. In your wp-config make sure you have the following set to your language:
define('WPLANG', 'en_EN');Ie; maybe fr_FR.. or whatever language you are using.
3. Then in your parent theme make sure you have a folder called languages at root.
4. Then make sure you save your language file as fr_FR or whatever country code you are using.
Then clear any caches you may have and lets see where you are at please.
Theme Designer — 9th October 2011 (7 months ago) #
Just for information off the back of this being a little issue I've updated my themes with a few things to hopefully make this easier:
1. I actually made a languages folder at root - whilst the worry of copying over is there I think it's causing more issues the other way around.
2. I added a howto file in the languages folder to hopefully make things easier for people.
Hopefully we can get your issue resolved and make it easier as a result for others to translate.
Lifetime member! — 9th October 2011 (7 months ago) #
point 2 -> 4 were alredy done.
But :)
Now with the new file...
it.....
Works !
:)
solved ;)
Now lets digg the BP default slugs in the pannel ;)
Theme Designer — 9th October 2011 (7 months ago) #
Lets what the slugs? Sorry what's wrong also translation should be working fully now.
Lifetime member! — 9th October 2011 (7 months ago) #
the issue with slugs is not a translation problem but slug problem. If I set a specifica slug for "activity" to "activites", the page works fine with BP on a direct call but the links in the panel remain default ones : activity.
The translation is fully operationnal also in the panel.
Become a member