Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'translation'

Viewing 25 results - 526 through 550 (of 1,134 total)
  • Author
    Search Results
  • #159990
    danbpfr
    Participant

    @fernon

    buddypress-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)

    #159989
    shanebp
    Moderator

    May not be pertinent, but what does your wp-config file say re this setting:

    `define(‘WPLANG’, ”);`

    #159901
    danbpfr
    Participant

    @naturalworldstm

    i 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]

    #159894
    Andres Felipe
    Participant

    Hi @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 php

    About 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!

    #159857
    danbpfr
    Participant

    @naturalworldstm,

    can 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_page

    Basically, 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…. :mrgreen:

    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=zip

    If you use a previous version, go here:
    https://core.trac.wordpress.org/browser/tags

    Don’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.

    #158839
    Andres Felipe
    Participant

    Hi @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!

    #158738
    danbpfr
    Participant

    ola @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.

    #156098
    mt78
    Participant

    Hi @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.

    #156068
    bp-help
    Participant

    @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 */
    `
    members directory

    #156053
    bp-help
    Participant

    @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.
    members directory
    Hope you guys can help! I appreciate the help you have given so far! Thanks!

    #155204
    tizmo
    Participant

    Dear 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.

    #154999
    tizmo
    Participant

    thank 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?

    #154790
    danbpfr
    Participant

    if 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

    #154663
    danbpfr
    Participant

    thanks @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.

    #152786

    In reply to: Activity Count

    @mercime
    Participant

    Something’s getting lost in translation. Do you mean you want to get the activity count per image attached and post it somewhere _____?

    #152436
    @mercime
    Participant

    @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.

    #151477
    @mercime
    Participant

    @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.

    #150779
    @mercime
    Participant

    Unfortunately, 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”?

    #150593
    danbpfr
    Participant
    #150093

    In reply to: Register Error

    danbpfr
    Participant

    i 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.

     

    #149794
    JimmyGibbs
    Participant

    Hey, 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 🙂

    #149793
    danbpfr
    Participant

    hi,

    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 😉

    #149650
    Hugo Ashmore
    Participant

    Have a read through the BP codex documentation, specifically for language translation entries

    #149535
    @mercime
    Participant

    @panashe Something’s getting lost in translation or it might just be semantics, but what exactly do you mean by “dashboard”? Examples? Thanks.

    #149457
    danbpfr
    Participant

    Hi,

    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 file

    The 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.

Viewing 25 results - 526 through 550 (of 1,134 total)
Skip to toolbar