Search Results for 'translation'
-
AuthorSearch Results
-
April 5, 2013 at 4:26 pm #159990
In reply to: Translation Problem file
danbpfrParticipantbuddypress-nl_NL.mo must be in wp-content/languages
Po file is for translating. It’s a working file.
Mo file is for translation throught php gettext. Only the mo is mandatory, not the po or the pot
Once you finish the translation of a po file, you need to compile it to mo format with poEdit. (or equivalent tool)April 5, 2013 at 4:11 pm #159989In reply to: Translation Problem file
shanebpModeratorMay not be pertinent, but what does your wp-config file say re this setting:
`define(‘WPLANG’, ”);`
April 4, 2013 at 6:35 pm #159901In reply to: Date format and language
danbpfrParticipanti didn’t say “except” buddupress-es_ES !
i said
check the languages folder witch must contain the following files:buddypress.mo
And WP’s default translation files:
[file list]April 4, 2013 at 5:15 pm #159894In reply to: Date format and language
Andres FelipeParticipantHi @chouf1 and thanks for your extensive and clear reply, to answer your questions:
1. Site URL link
2. Single WP but considering Multisite in near future
3. PHP version 5.2.17
4. Yes they provide me gettext with phpAbout your suggestions:
1. I’m using WP 3.5.1
2. Checked the language folder and there were all the files You say except the buddypress.mo, I added it, clear chache, made a new activity update and nothing happens.
3. Actually the theme has .mo and .po files and I checked them and where ok, no strange translation or mistakes.
4. I’ll try the wp-include folder option and update this topic again.Really, really, thanks for all your time!
April 4, 2013 at 7:27 am #159857In reply to: Date format and language
danbpfrParticipantcan you give a site URL please ? Also do you use BP on a multisite or on a single WP ? What PHP version do you use ? And does your host provide gettext with PHP. ?
https://codex.wordpress.org/User:Ipstenu/How_to_create_a_phpinfo%28%29_pageBasically, the %s ago thing is a wordpress function – also used by BP on the activity time. If you already checked the BP part, and it seems ok according what you say above, i don’t know what happens so far.
This issue could be a mistake from the translator or something else directly handled by WordPress.If you’re using WP 3.5.1, check the languages folder witch must contain the following files:
buddypress.mo
And WP’s default translation files:
es_ES.mo (for WP in spanish)
admin-es_ES.mo (dashboard)
admin-network-es_ES.mo (network dashboard)
continents-cities-es_ES.mo (a list of cities in your language, used for date/time setting in dashboard, not mandatory)If you use bbPress 2.2.x, there should also being a folder /bbPress/ containing bbress-es_ES.mo
In wp-config.php you must have a line saying
define(”WPLANG’, ‘es_ES’);If you use WP MS, you also have to set the network to your language in the Network Settings.
If you use a third party theme, it may contain his own /languages/ or /lang/ folder with a pot file at least. This file must be used to translate the theme.The theme translation mo file should be in this folder.
Some themes are sometimes delivered with .mo files. Unfortunatly, those additionnal mo files are rarely updated. So if the theme has a es_ES.mo or theme-es_ES.mo, you can use the pot file to check or update the theme translation. In fact, in such case, the only file in witch you can trust, is the pot file. It also can be that the pot is not updated too, which means you have to recreate it from start, with a compiler such as poEdit….
This rule is also valuable for plugins.
At this point, i suspect a corrupted WP file. To eliminate this possibility, i would try the following.
Delete the whole wp-includes folder and upload a fresh copy of 3.5.1 via FTP
https://core.trac.wordpress.org/changeset/23897/tags/3.5.1?old_path=%2F&format=zipIf you use a previous version, go here:
https://core.trac.wordpress.org/browser/tagsDon’t use the right click to download something from Trac repo. Always click first on the file or folder name, and use the download button at the bottom of that page.
March 28, 2013 at 7:35 am #158839In reply to: Date format and language
Andres FelipeParticipantHi @chouf1 I use bp-media (actually recently), I have the translation file and I translate its po file to es_ES. I try deactivating this plugin but still the same. Any idea?
More info: In BP pages the date format remains but the language not and in not BP pages the date format doesn’t remains, I can see this because the activity stream bar in footer (You can see it in the image)
The most important thing is the language, the format is a secondary problem.
Thanks for your reply!
March 27, 2013 at 1:24 pm #158738In reply to: Date format and language
danbpfrParticipantola @naturalworldstm,
do you use bp-media or bp-album ? Verify that you have the translation file for it.
!important concern only css, and x days ago translation has nothing to do with css.
March 12, 2013 at 1:00 am #156098In reply to: Testing BP 1.7b1 and having some issues
mt78ParticipantHi @djpaul,
Does uses 1.7-beta1 bp-custom.php for slug translation?
– My bp-custom.php working correctly in 1.6.4 BP but not working correctly in 1.7-beta1.
These slugs are translated just for user profile, not group profile. It is OK?
define ( ‘BP_MEMBERS_SLUG’, ‘clenove’ );
define ( ‘BP_FORUMS_SLUG’, ‘klubovna’ );
Thanks for idea, help.
March 11, 2013 at 5:51 pm #156068In reply to: [Resolved] CSS help for member directory
bp-helpParticipant@naijaping @mercime
Okay I finally got it. Not certain it is totally right but it looks good in both chrome and firefox. I did have to create a div class in the members-loop.php called user-location surrounding the code from step 3 in the tutorial to be able to style it. The changes I made are in the below css in case anyone wants to try this. I also included a pic at the bottom to show the end result. Thank you both for your help! Cheers!
`
/*
Theme Name: BuddyPress Child
Theme URI: http://example.com/
Description: Child theme for the BuddyPress Default theme
Author: bphelp
Author URI: http://example.com/about/
Template: bp-default
Version: 1.0
Tags: blue, buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white
*/
/*————————————————————-
Custom CSS
————————————————————–*/
@import url(“../responsive/style.css”);/* Custom member loop avatar styling */
#members-dir-list img.avatar {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: 0 1px 0 #fff;
-moz-box-shadow: 0 1px 0 #fff;
box-shadow: 0 1px 0 #fff;
}#members-dir-list a:hover img.avatar {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
filter: grayscale(100%);
-webkit-transition: -webkit-filter 0.2s ease-in-out;
-moz-transition: -moz-filter 0.2s ease-in-out;
transition: filter 0.2s ease-in-out;
}#members-list li {
overflow: auto;
list-style: none;
float: left;
width: 30%;
margin: 20px 20px 28px 0;
border: 0;
}#members-dir-list ul.item-list li div.item-title, #members-dir-list ul.item-list li h4, #members-dir-list ul.item-list li div.item-meta
{
width: 62%;
text-align: center;
}
.user-location {
width: 62%;
text-align: center;
}#members-dir-list ul.item-list li div.item-title {
font-size: 110%;
}#members-dir-list ul.item-list li div.item-meta {
text-transform: uppercase;
font-size: 80%;
}#members-dir-list ul.item-list li img.avatar {
margin-bottom: 8px;
}#members-dir-list a.friendship-button.add {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #89ac48;
font-size: 26px;
font-weight: bold;
background: #a5d156;
color: #ffffff;
line-height: 50px;
margin: 18px 102px 0 0;
}#members-dir-list a.friendship-button.is_friend.remove {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #CC0000;
font-size: 26px;
font-weight: bold;
background: #FF5050;
color: #ffffff;
line-height: 50px;
margin: 18px 102px 0 0;
}ul#members-list.item-list li div.action {
text-align: center;
overflow-y: hidden;
top: 18px;
right: 6px;
}#member-dir-count-bottom {
display: none;
}
/* End Custom member loop avatar styling */
`
March 11, 2013 at 2:50 pm #156053In reply to: [Resolved] CSS help for member directory
bp-helpParticipant@naijaping @mercime
I removed #buddypress from the css and here is what my style.css looks like:
`
/*
Theme Name: BuddyPress Child
Theme URI: http://example.com/
Description: Child theme for the BuddyPress Default theme
Author: bphelp
Author URI: http://example.com/about/
Template: bp-default
Version: 1.0
Tags: blue, buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white
*/
/*————————————————————-
Custom CSS
————————————————————–*/
@import url(“../responsive/style.css”);/* Custom member loop avatar styling */
#members-dir-list img.avatar {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
-webkit-box-shadow: 0 1px 0 #fff;
-moz-box-shadow: 0 1px 0 #fff;
box-shadow: 0 1px 0 #fff;
}#members-dir-list a:hover img.avatar {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
filter: grayscale(100%);
-webkit-transition: -webkit-filter 0.2s ease-in-out;
-moz-transition: -moz-filter 0.2s ease-in-out;
transition: filter 0.2s ease-in-out;
}#members-list li {
overflow: auto;
list-style: none;
float: left;
width: 30%;
margin: 20px 20px 28px 0;
border: 0;
}#members-dir-list ul.item-list li div.item-title, #members-dir-list ul.item-list li h4, #members-dir-list ul.item-list li div.item-meta
{
width: 100%;
text-align: center;
}#members-dir-list ul.item-list li div.item-title {
font-size: 110%;
}#members-dir-list ul.item-list li div.item-meta {
text-transform: uppercase;
font-size: 80%;
}#members-dir-list ul.item-list li img.avatar {
margin-bottom: 8px;
}#members-dir-list a.friendship-button.add {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #89ac48;
font-size: 26px;
font-weight: bold;
background: #a5d156;
color: #ffffff;
line-height: 50px;
}#members-dir-list a.friendship-button.is_friend.remove {
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-ms-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
border: 5px solid #CC0000;
font-size: 26px;
font-weight: bold;
background: #FF5050;
color: #ffffff;
line-height: 50px;}
ul#members-list.item-list li div.action {
text-align: center;
overflow-y: hidden;
top: 18px;
right: 6px;
}
/* End Custom member loop avatar styling */
`
Here is another pic to see the changes but it still needs some adjusting.
Hope you guys can help! I appreciate the help you have given so far! Thanks!March 5, 2013 at 11:04 pm #155204In reply to: Changing slugs with bp-custom.php: No change!
tizmoParticipantDear Moderators,
Please do/fix this in the next releases. I also wanted to change Group to something that reads in my language (though the string ‘Group’ is in .po and .mo files and translated, it is still in English on Dashboard). How great it would have been if i was easily able to change them?
I’ve been wrestling this issue for several weeks and now trying to hire someone who can hack it and insert the translation.
Thank you guys.March 4, 2013 at 1:22 am #154999In reply to: Link words at top are not translated
tizmoParticipantthank you for the answer. I do understand what you’re advising. The theme has a .pot file that i translated to .po and .mo files. WP is running on the same language. The language is set in wp-config file. It’s a single site installation.
But i still have those 4 words in English on dashboard. Avtivity, Groups, Members and Forums. Interestingly, when i change the theme to WP default theme, they are in translated version. But in that case, those words are not on the dashboard. If i activate the BP theme, they appear on the dashboard and back to English. If i manually insert the translation for those words, where they can be found? I guess that would be a file which is responsible for dashboard, right?March 1, 2013 at 12:35 pm #154790In reply to: Link words at top are not translated
danbpfrParticipantif the theme comes with only a po or pot file, the translation cannot work. This po file is for edit purpose only and should be converted to a mo file
Also have you set define wp_lang to your language in the wp-config file ?
If you have a multisite install, you have to double-check if your language is defined in the WP general settings.
If you don’t understand what i’m writing, go to the codex and read the chapter dedicated to BP in your language
February 28, 2013 at 3:16 am #154663danbpfrParticipantthanks @sbrajesh
i’m working on the translation, not coding actually. 😉
I just wonder on this new message and the comments:
function bp_setup_current_user() {
// If the current user is being setup before the “init” action has fired,
// strange (and difficult to debug) role/capability issues will occur.Is this message viewed by the user on front-end ? Or only in the admin ?
And if roles/caps will occur, the super-admi is also affected i guess. I presume this was tested by the devs, so advice about what kind of incident this can give would be great to know.
February 10, 2013 at 2:44 pm #152786In reply to: Activity Count
@mercimeParticipantSomething’s getting lost in translation. Do you mean you want to get the activity count per image attached and post it somewhere _____?
February 5, 2013 at 4:54 pm #152436In reply to: Plugin to display connected users
@mercimeParticipant@yanis97 something’s getting lost in translation. Could you explain further or be more specific? Going by my first read of your post though, doesn’t look like we have that kind of plugin.
January 22, 2013 at 4:54 pm #151477In reply to: why is buddy press so backwards?
@mercimeParticipant@gavpedz maybe something’s getting lost in translation, but you can post activity status updates in the home page of the Group (activity by default) you are already a member of. If you mean otherwise, please explain further.
January 16, 2013 at 1:17 am #150779In reply to: I want Buddypress to work within a template
@mercimeParticipantUnfortunately, it took over the entire site
Something’s getting lost in translation or context. What theme are you using? Could you be more specific about What you mean “make it work within the site”?
January 14, 2013 at 1:49 am #150593In reply to: Traducción Buddypress 1.6
danbpfrParticipantOla !
The best is probably here (thanks @djpaul)
https://github.com/paulgibbs/BuddyPress-Translations/tree/master/pomo
Older version avaible here:
https://translate.wordpress.org/projects/buddypress/dev/es/default
January 9, 2013 at 4:06 pm #150093In reply to: Register Error
danbpfrParticipanti presume the error is coming from a bad translated string, that’s why it is necessary to debug this possibility.
To confirm this, you have to retrieve your language file (rename simply the pt_BR.mo and the Buddypress-pt_BR.mo) and WP/BP will be automatically in english.
So when in english and the error disapeared, you know that the translation is the culprit.
January 6, 2013 at 7:10 pm #149794In reply to: Update time shows 8 hours ago on new posts
JimmyGibbsParticipantHey, no I haven’t tested it in a new WP installation, I know the problem is most likely only in my installation. I don’t use a translation file. I use a BP theme from ThemeForest, do you think this may be causing the time problem? I just need to know which file I need to edit to replace the 8 with 0,thanks 🙂
January 6, 2013 at 7:08 pm #149793In reply to: Update time shows 8 hours ago on new posts
danbpfrParticipanthi,
have you tested with only WP and BP ?
Do you use a translation file ?
Do you use a child theme or a third party theme ?Seems that somebody somewhere confused a zero and eight.
And for sure, it’s not in WP or BP 😉January 4, 2013 at 10:41 am #149650In reply to: How to change "groups" to "teams"?
Hugo AshmoreParticipantHave a read through the BP codex documentation, specifically for language translation entries
January 3, 2013 at 2:22 pm #149535In reply to: Help with creating Bp dashboard
@mercimeParticipant@panashe Something’s getting lost in translation or it might just be semantics, but what exactly do you mean by “dashboard”? Examples? Thanks.
January 2, 2013 at 2:29 pm #149457In reply to: Menu Tab Names Won't Change. How do I Change Them?
danbpfrParticipantHi,
you probably try to modify the buddypress.po file. It would be better you use the po file who comes with your genesis theme. Also don’t forget to save the modified po file with poEdit to generate the mandatory mo file
The pot file contains the translatable strings and the file names/numbers who they are.
The po file has exactly the same content + translated strings
The mo file is the compiled po fileThe translation is executed by PHP’s gettext function who read the compiled mo file. Po and Pot files are human readable files and aren’t necessary to be on the server.
-
AuthorSearch Results