theme translation

resolved (8 posts) (3 voices)

  1. HeliR
    Member

    Eliott, I have created a DEJAVU.PO File with translation of the strings to German using POEDIT.
    Now, as far as i could see qTranslate does a lot for mulitlingual sites.

    But all I want is the main strings used to be translated into German, like "read more ...." "posted by" .... --> so this long list of where to translate what makes no sense regarding theme - updates .

    now I have read myself through WP.CONTEX and parts of the code and I dont quite understand why it does not translate.

    I have set wp_config / WPLANG = 'de_DE'
    I have created Dejavu.po and Dejavu.mo in the themes/language folder

    and I found in the code framework.php line 240

    		} else {
    			# Load theme textdomain.
    			load_theme_textdomain( MYSITE_TEXTDOMAIN, THEME_DIR . '/languages' );
    			$locale_file = THEME_DIR . "/languages/$locale.php";
    		} else {
    			# Load theme textdomain.
    			load_theme_textdomain( MYSITE_TEXTDOMAIN, THEME_DIR . '/languages' );
    			$locale_file = THEME_DIR . "/languages/$locale.php";

    and I cannot see any PHP - file in the languages folder.

    Maybe you can give me a hint how to get the themes messages from the translated .po file

    tx

    Posted 9 months ago #
  2. Elliott
    Support

    Hello Heli Retzek,

    Try renaming your .mo file to "de_DE.mo" and place it inside /dejavu/languages/ to see if this works. I'm not exactly sure but you may need to place it inside /wp-content/languages/ also.

    Posted 9 months ago #
  3. HeliR
    Member

    perfect, absolutely perfekt. I just had to rename the mo and my entire site is translated, now this is great!!!! Tx

    Posted 9 months ago #
  4. Hello to everybody!
    i'd like to translate Dejavu theme in russian. there is no need to use multilingual plugin for my web-site, i just want to translate common things and i have no idea about Poedit and .mo files!
    where can i find step-by-step guidance about translating the theme?

    Posted 8 months ago #
  5. Elliott
    Support

    I'll get a tutorial written up here soon nasyademich.

    Posted 8 months ago #
  6. Fine Elliott! waiting:-)

    Posted 8 months ago #
  7. Elliott
    Support

    See if this works for you nasyademich, http://mysitemyway.com/docs/index.php/Translating_your_site#Uploading_the_.mo_file.

    You may need to also upload your .mo file into /wp-content/themes/[your_theme]/ and /wp-content/themes/[your_theme]/languages/.

    I'm not entirely sure and haven't tested it yet.

    Let us know how that goes.

    Posted 8 months ago #
  8. YES! it's fine!
    great thanks Elliott!!!

    Posted 8 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme