Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Translations – to rename parts of BP


danbpfr
Participant

@chouf1

hi oldskoo,

you get wrong by retrieving the (get locale() because at the next update of your bp-core.php file, this will be back again.

And what do you think what are the language settings on site and blogs for ?

wp-content/mu-plugins/bp-languages/buddypress-' . get_locale(). '.mo'

this line means /path/to/your/locale language settings and call the translation file buddypres-en.mo (note the hyphen)

get_locale() comes sometimes along with get_domain(), who entend something like en_US.mo or de_DE…

You will find some functions using locale() and domain() in wp-includesl10n.php

wich is one of the language setting file.

Skip to toolbar