- This topic has 3 replies, 2 voices, and was last updated 10 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Tagged: buddypress, profile, translate
How to make words appear in Russian on the profile page. Here is a snippet of code that I change:
function load_constants () {
// The main slug
if (! defined (‘BEPRO_LISTINGS_SLUG’))
define (‘BEPRO_LISTINGS_SLUG’, ‘Listings’);
// The slug used when editing a doc
if (! defined (‘BEPRO_LISTINGS_LIST_SLUG’))
define (‘BEPRO_LISTINGS_LIST_SLUG’, ‘List’);
// The slug used when editing a doc
if (! defined (‘BEPRO_LISTINGS_EDIT_SLUG’))
define (‘BEPRO_LISTINGS_EDIT_SLUG’, ‘edit’);
// The slug used when creating a new doc
if (! defined (‘BEPRO_LISTINGS_CREATE_SLUG’))
define (‘BEPRO_LISTINGS_CREATE_SLUG’, ‘Create’);
// The slug used when saving new docs
if (! defined (‘BEPRO_LISTINGSS_SAVE_SLUG’))
define (‘BEPRO_UPLOADS_SAVE_SLUG’, ‘save’);
// The slug used when deleting a doc
if (! defined (‘BEPRO_LISTINGS_DELETE_SLUG’))
define (‘BEPRO_LISTINGS_DELETE_SLUG’, ‘delete’);
// The slug used when deleting a doc
if (! defined (‘BEPRO_LISTINGS_SEARCH_SLUG’))
define (‘BEPRO_LISTINGS_SEARCH_SLUG’, ‘listings’);
Вut it does not work.
Hi,
Most of the language is changeable via language files .PO and .MO aka i18n. You can learn more about that here
– http://codex.wordpress.org/I18n_for_WordPress_Developers
You have to make your own language files. If you find deficiencies in our use of localization, then let us know.
Regards,
___
BePro Software Team
I used the files .po и .mo for localization, but they can not be translated word in the profile:
Listings, List, Create
How do I translate these words, using the program Poedit, if you want to use another program, what is it?
Hi,
Are you referring to the buddypress profile? If so, this section is missing localization (ability to translate). In this case, your options would include
Regards,
___
BePro Software Team
Stay up to date on web design and development trends. Also receive updates on video tutorials, services, deals, products, and discounts offered by the BePro Software Team. to sign-up for our newsletter today.