Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #218519

    I’ve been trying to get the “built in” language files to show something for a while. I’ve opened them with poedit and have changed the language in the wp-config.php file but I can’t seem to see anything modifications in the theme?

    the HTML shows <html lang=”‘de_DE’” class=”chrome chrome32 html_boxed “> but when looking at the blog which reads “this entry has 0 Comments in Uncategorized” it’s still English?

    I suspect that this is something that should be taken care of by the language file, no? Same thing with a button called “Post Comment.” Should it not be translated through the language file and shown in the front-end?

    What could I be missing?

    #218587

    Hi kork!

    Did you install the WPML plugin? The language file contains the translation of strings from the the original language to a different language but you need to install the plugin WPML.

    Best regards,
    Ismael

    #219072

    Yes, I have the WPML plugin installed. I’m just looking to be able to deploy a “spanish” version of “dutch version” or the website independently. I just want the default language to be one language. No switching, no multiple versions of posts…. Just a different language.

    But I can’t see anything changing?

    • This reply was modified 3 years, 9 months ago by  kork.
    #219199

    So WPML isn’t what I’m looking for… However, the WordPress Language plugin by the same guys that offer WPML is.

    That said, much of the site is now able to be in another language, but for things like:

    this entry has 0 Comments
    in Uncategorized
    by kork

    Is that something that needs to change in the source code, or can that be done with the language file?

    #219204

    Hey!

    That’s up to WordPress, is your WP Dashboard in German?

    Regards,
    Josue

    #219235

    Hey!

    I suggest to use Codestyling to translate these text strings. Install the plugin ( http://wordpress.org/plugins/codestyling-localization/ ), go to Tools > Localization and select “Themes”. Then search for “Propulsion” from the list and select your language and click the “create po-file” button. Click on “Rescan” to search for all text strings. Afterwards click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).

    Best regards,

    Best regards,
    Peter

    #219482

    That was where I started as I’ve done this before with the enfold theme. Pretty simple stuff.

    But for Propulsion, I took “Error 404 – page not found” the very first one in the list and set the translation to be “El Pago not Foundo” just to test it. The HTML reads “<html lang=”es-ES” class=”chrome chrome32 html_boxed “>

    Nope, going to a 404 still shows the English version. I also tried the “Send” button for a form… Same thing. Doesn’t replace the text.

    #219926

    Okay, where are the .mo and .po files actually supposed to be once generated? I’ve found them in the root of the theme, but with enfold they seem to exist in the language folder in the root of content. I’ve opened the .po file with poedit and the changes I’m making are in the file.

    But the theme is quite simply… not loading the translations. Any of them. it_IT, es_ES, it doesn’t matter. Not loading.

    #220414

    Hi!

    By default the language files should be in a folder called “lang” (wp-content/themes/propulsion/lang/). I uploaded the German translation files here: http://www.xup.in/dl,12906936/propulsion.zip/ – I know that they’re working on my server and they should also work for you.

    Cheers!
    Peter

    #220466

    When I created the spanish .mo file using the localization plugin, it created it in the root/languages folder and called it “avia_framework-es_ES.mo”

    But it’s not actually using the translations provided in the file… This is very frustrating.

    #221199

    Hey!

    Try to rename it to “es_ES.mo” and place it into the wp-content/themes/propulsion/lang/ folder.

    Cheers!
    Peter

    #222015

    YES!!! It was generating the files in the main theme folder, but placing them in the lang folder seems to have worked! Thanks!!!

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

The topic ‘What does the language file actually change? Having problems even just testing!’ is closed to new replies.