Multisite translation


Home Forums Front End PM PRO Multisite translation

This topic is: Resolved
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #41946
    markku.lehtola
    Participant

    Hi, I made a Finnish translation (files attached) with translate.wordpress.org…used poedit to make sure files are ok.

    I have a multisite with Polylang, Finnish and English. Transferred the .po and .mo to wp-content/languages/plugins.

    Nothing…what should I do next?

    br
    Markku

    Attachments:
    You must be logged in to view attached files.
    #41950
    Shamim Hasan
    Keymaster
    #41964
    markku.lehtola
    Participant

    Done. Still no luck. Should there be only one page with shortcode (I have 2 because of 2 languages)?

    #41971
    Shamim Hasan
    Keymaster

    Please select English one as “Front End PM Page” in the settings page of this plugin.
    Also please check if other plugins translations working.

    let me know.

    #41981
    markku.lehtola
    Participant

    Done…still no. Noticed also that if pages are private, they are not shown in the selection list.

    #41985
    Shamim Hasan
    Keymaster

    Do other plugins translations works?

    #41993
    markku.lehtola
    Participant

    Only other used plugin that is translated to Finnish is Polylang and that works…

    #41995
    markku.lehtola
    Participant

    Ok, figured it out, the files should be named like this: front-end-pm-fi.*. Not front-end-pm-fi_FI.*

    #42504
    markku.lehtola
    Participant

    Damn, when I press any button in PM, it changes the language back to English…any more ideas?

    Br
    Markku

    #42514
    Shamim Hasan
    Keymaster

    1. Do you have a page in English which content have [front-end-pm] shortcode?
    2. Do you have this page translated in other languages?
    3. Do all these pages public?
    4. Did you set “Front End PM Page” the English one?

    #42518
    markku.lehtola
    Participant

    1. yes
    2. yes, Finnish
    3. No, private, tried also public, but no difference.
    4. yes.

    I change the language to Finnish and when mouse is over the “new message” button (1. in attached picture), the link (2. in picture) should change from domain.fi/stable/messages to domain.fi/stable/fi/viestit which is the same page in Finnish….but it doesn’t..

    br
    Markku

    Attachments:
    You must be logged in to view attached files.
    #42526
    Shamim Hasan
    Keymaster

    1. Did you added following code?

    add_filter( 'fep_page_id_filter', function( $page_id ){
        if( $page_id && function_exists( 'pll_get_post' ) ){
            $page_id = pll_get_post( $page_id );
        }
        return $page_id;
    });
    

    2. Can you please keep that page public then clear all cache then try?
    3. If still not working you can set Front End PM Page to your Finnish one then try.

    Let me know.

    #42537
    markku.lehtola
    Participant

    Damn me!
    I added the code to my test enviroment and totally forget it…so it was not in my production enviroment…added and now it works! Sorry for wasting time and huge thanks for good support.

    Markku

Viewing 13 posts - 1 through 13 (of 13 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.