• Resolved michele3000

    (@michele3000)


    I am using QTranslate XT and followed the directions of the document called “Localizing Participants Database”

    When translating the field labels everything work perfectly in the front end, but it doesn’t in the backend.

    If I see ‘First Name’ in the front end of the site, I see ‘[:en]First Name[:de]Vorname[:fr]Prénom[:it]Nome[:]’ in the backend / adnin section, which makes it not usable with very long text labels.

    Does anyone have any idea of where I could start to solve this issue?

    Thanks a lot for any help.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Thanks for letting me know about this. problem. I may need to issue an update to fix this, I didn’t know the multilingual plugin wasn’t translating those strings in the admin side.

    Hello, I have same problem, maybe is there a quick fix for it?
    Thank you

    Thread Starter michele3000

    (@michele3000)

    Thanks a lot xnau, I will look out for the update.

    Thread Starter michele3000

    (@michele3000)

    Hi Xnau,

    I updated the Participants Database plugin to version 1.9.5.6.
    In the version details I read about “fixed several instances of display strings not available to multilingual plugins”
    I am not sure if this was supposed to fix the above issue, but my problem is still there. Here are two screenshots:

    https://drive.google.com/open?id=1K_McSzu9yqArBDnx8ImXDts8oZonaCjR
    https://drive.google.com/open?id=1F0ajEUDnNUGiuWrGjd7Q8ZVgngBoPzoO

    I updated the Gettext databases and tried several settinng. I am not sure what I might be overseeing.

    Can it be related to the ‘Participants Database Field Group Tabs’ I have installed?

    Thanks so much your valuable help.

    Plugin Author xnau webdesign

    (@xnau)

    Make sure you have the PDB_MULTLINGUAL global set. You do this in your wp-config.php file…add this:

    define( 'PDB_MULTILINGUAL', true );

    you can put that right under the WP_DEBUG definition, but it doesn’t matter much where it is.

    Thread Starter michele3000

    (@michele3000)

    This solved it! Thank you very very much!

    Thread Starter michele3000

    (@michele3000)

    While filling out all my fields with the language tags I now got to some fields which just would not update.

    I enter the text, hit ‘Update fields’ and it stays on the original one.
    I activated debugging while this happens and get the following message:
    PDb_Manage_Fields_Updates::update_fields update fields: SHOW FULL COLUMNS FROM wp_participants_database_fields

    I this somehow helpful? I have tried everything and just changing one word updates the field or not.

    Thread Starter michele3000

    (@michele3000)

    Continuing to investigate I went to look at the table and it seems that the text gets truncated because the fields are too small. This is strange because other fields with longer text seem to work. When trying to add the text via phpMyAdmin I get: ‘Data truncated for column ‘title’ at row 1′

    Is it safe to just make the field bigger with phpMyadmin?

    Plugin Author xnau webdesign

    (@xnau)

    It is safe to change the size of the data field as long as it is the same type. For example, a field “title” is stored in a TINYTEXT, which is 255 characters, if you need more space, you can change it to a VARCHAR, then set your desired size in the length parameter.

    Thread Starter michele3000

    (@michele3000)

    That’s good to know, thanks.
    A few tiny little questions:

    I am using your Field Group Tabs Plugin and group titles are not displayed translated on tabs in the backend. If I enter the translations the filed name instead of the field title is shown. Also, where can I translate the “NEXT” button in the tabs plugin?

    Last, you told me to add define( ‘PDB_MULTILINGUAL’, true ); to wp-config.php
    Can I remove it from functions? I am asking because while debugging I noticed the message that it was already defined.

    Thanks again for everything!

    Plugin Author xnau webdesign

    (@xnau)

    Field Group Tabs is a separate plugin and has its own translation files, so you will need to make sure it has the files for your languages.

    Yes, you need to remove the define statement for PDB_MULTILINGUAL from your functions.php file. It should only be defined once.

    Thread Starter michele3000

    (@michele3000)

    I am aware that it is another plugin but I was just wondering why it is behaving the same way as my original issue. When I translate the group field names they appear in the correct language in the front end but do not in the backend / dashboard.

    Plugin Author xnau webdesign

    (@xnau)

    Yes, you’re correct. I need to fix that.

    Thread Starter michele3000

    (@michele3000)

    Thanks xnau. Another thing I noticed is that the same happens to any Help Text: In the corrected language in the front end but not in the backend.

    This is no big deal, I am just telling you FYI.

    Thanks for the great help.

    Plugin Author xnau webdesign

    (@xnau)

    I appreciate your info, this part of the plugin doesn’t get enough testing, so this is very helpful, thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Translation in the Backend /Dashboard’ is closed to new replies.