Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #359036

    hello
    im using the theme on hebrew version of wordpress.
    im trying to translate all the theme po file (including theme options).
    the translated text is not working in some places (theme options) and works in other places (the cpt in the wp menu “portfolio items”).
    i thought maybe there is somthing wrong with the po file so i created a blank file (using code style localization) and translate only 2 strings – theme options and general layout, still it doesnt show.
    i tried to look into it online but found nothing.
    please help, thanks

    #359291

    Shalom!

    Please try using this plugin to translate missing strings – https://wordpress.org/plugins/codestyling-localization/
    Please do not forget to rescan theme files before editing them

    Cheers!
    Yigit

    #359492

    hi
    i wrote in my message that I AM using this plugin…

    i created a blank file (using code style localization)

    agian, the problem is that translated text doesnt appear in various locations trough out the admin panel.
    in the theme option page its 100% not translated, even though i translated all the strings in the he_IL.po file

    #359496

    after translating the files in code style localisation – did you press that little button on top “create mo-File” ?

    #359542

    yes, its not my first time using codestyling localiztion
    my guess is that is somting with the template becuse i used also po edit and it didnt work either

    #359551

    could be something with filepermissions. Can you change it via ftp (folder enfold/lang ) to something that defninitly works!

    #359558

    hi
    i changed filepermissions to wp-content and all the folders and files inside to 777
    still problem remains.

    #359592

    have you some caching tools on work?

    #360029

    Hi!

    Theme Options can’t be translated. You’d need to manually translate within the theme files. You can find the Theme Options strings on includes > admin > register-admin-options.php.

    Best regards,
    Josue

    #360056

    hi,

    what about some other parts of the template that doesnt translate?
    in the page builder, on the same place (ex. color tab) some text are translated and some not.
    can you please elaborate on why it doesnt work? it uses the text domain same like any other… so what exactly is the problem?

    i have a client that wants me to translate all the template for him, if i translate the original register-admin-options.php it means that he cant update the theme, and to change all those settings into the child theme is crazy lots of work.

    can i please get some real help here?
    thank you.

    #360115

    Hey!

    I think you needed to re-scan the translation file, missing translations are now available – http://screencast.com/t/UgNPY75Y9Dg (i translated Catalogue to Catalog to test).

    Best regards,
    Josue

    #360255

    hi josue
    thanks you i appriciate your help.

    most of the page builder is translatable, my only problem now is the theme option page, could you please give me a hint on why the text domain doesnt work there? maybe if i try to use a different text domain for the theme options?

    #360625

    Hey!

    I’m sorry but we only rely on other users to translate the theme. This is why some of the language file (po/mo) are not fully complete. Actually, you can translate the theme options but you need to manually edit the .po file using PO Edit software or any text editor. For example, if you want to edit the Theme Options string, add this on the .po file located on the lang folder of the theme:

    #: includes/admin/register-admin-options.php:7
    #@ avia_framework
    msgid "Theme Options"
    msgstr "YOUR TRANSLATION HERE"

    Go to the Codestyling Localization plugin panel. Rescan the language that you edit. Search for Theme Options, it should be translated. Please refer to this link for more info: https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html

    Cheers!
    Ismael

    #360711

    hi ismael

    i did what you said but still translation does not appear.
    i tried changing trough the software po edit, and through the plugin codestyling localization.
    please note that Josue said that theme options cannot be translated.

    im sorry to say guys but this is very unprofessional, if there is no possibility to translate theme options please just say so, if there is a way to fix it please give me some information (like whats the reason its not working) and i will try to fix it myself.

    thank you.

    #361286

    Hey!

    Did you click the generate mo-file button on the codestyling localization panel after editing the strings? Actually, I just tested the instructions that I gave you above and it works fine. Please review it then let us know if it still doesn’t work.

    Best regards,
    Ismael

    #361348

    November 28, 2014 at 11:34 am #359496 REPLY

    Guenni007
    Participant
    after translating the files in code style localisation – did you press that little button on top “create mo-File” ?

    November 28, 2014 at 1:20 pm #359542 EDIT | REPLY

    mbamar
    Participant
    yes, its not my first time using codestyling localiztion
    my guess is that is somting with the template becuse i used also po edit and it didnt work either.

    Ismael, did u change the string “Theme Options” and it changed for you in the Enfold options page?

    #361357

    hi Kriesi

    i was able to fix it myself, by adding “load_theme_textdomain(‘avia_framework’, get_template_directory() . ‘/lang’);” to register-admin-options.php file.

    it is very disappointing neither you nor your support team could help me solve a problem that turned out to be so simple.

    i wish you well and hope you will strive to improve your support team.<br> good day

    #361380

    But there is another question – why didn’t we have the same problem as you?

    My translations work without your “fix” !
    even in installations in subfolders

    EX-LEPER
    Thank you, sir, thank… Half a dinari for me bloody life story?

    BRIAN
    There’s no pleasing some people.

    EX-LEPER
    That’s just what Jesus said, sir.

    #362642

    Hey!

    mbamar: I know that the theme options can be translated because of this: https://kriesi.at/support/topic/turning-off-enfold-back-end-translation/#post-323558

    Alright. Looks like I’m wrong. After I added the translation manually via text editor then search for the string on the codestyling localization plugin, I didn’t check if the string is really translated. It’s not. Not sure why. Thanks for sharing.

    @Guenn007: Glad it is working for you. :)

    Regards,
    Ismael

    #380273

    Hey!
    I think we found a solution for this. next update (3.05) early next week will include that. If you experience any problems with that let us know ;)
    Regards,
    Kriesi

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘problem with translation PO files – not showing in many places’ is closed to new replies.