WordPress.org

Forums

Polylang
Locale and code (15 posts)

  1. The Crazy Travel
    Member
    Posted 3 years ago #

    I realized that I was using en as locale and as code, and the same for lv and es.

    Could be that being giving me problems? I dint't install neither any .mo (neither I don't know how :$ and why should I do it).

    My blog is miesquinica.com

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 3 years ago #

    If you don't use the right locale, your theme is not translated correctly. I checked on your site and the theme is always in Spanish.

    .mo files are in wp-content/languages for WordPress (you can download them from the address I mentioned in the doc) and for your theme, I can't know. It's even possible that your theme is not ready for translation. I cannot check that. But you can. If there are .mo files somewhere in your theme directory, it's ok. If there are none, you can still check the file function.php and look for load_theme_textdomain. If you find it, then your theme is ready for translation and nothing is lost. But I don't know if .mo files are available for this theme or not.

    If you don't have mo files and your theme is ready for translation, then you will have to translate strings yourself either using poedit (a program dedicated for programs translation), or the WordPress plugin codestyling localization (I just hear about this plugin bud never used it).

  3. The Crazy Travel
    Member
    Posted 3 years ago #

    Ok, I will check it now, but for lv I guess there will not be anything (1-2 Million people speaking Latvian in the world... xD)

  4. The Crazy Travel
    Member
    Posted 3 years ago #

    Lol, now I cannot modify widgets, when I get there it's stacked, I think that this happened yesterday night too and got repaired after doing something in the plugin... or time... I don't remember :S

  5. Chouby
    Member
    Plugin Author

    Posted 3 years ago #

    WordPress Latvian translation is available : http://svn.automattic.com/wordpress-i18n/lv/tags/3.2.1/messages/ ! It's the magic of free software !
    Note that the locale is lv with only 2 characters (unlike English and Spanish)

    What happens with the widget ?

  6. The Crazy Travel
    Member
    Posted 3 years ago #

    The widget is fixed, it was another plugin that I installed in the meanwhile, so let's go to the .mo now.

  7. The Crazy Travel
    Member
    Posted 3 years ago #

    LVs uploaded, in that directory there is just es_ES, I don't need to download en_US as you said because... it's default? right?

    I check now my theme.

  8. The Crazy Travel
    Member
    Posted 3 years ago #

    In my theme there is no translation, so the problem of that is...? It's in English and I was using it in Spanish without problem.

    I think in some moment I edited some staff such as texts in comments to Spanish, but I am thinking to change to one external service.

    It would be for text like... "Previous entries"? I guess I translated that manually to Spanish and now is default and in every language that is in Spanish... shit XD

    Confirm me that is for that things. :)

  9. The Crazy Travel
    Member
    Posted 3 years ago #

    There is not load_theme_textdomain, so it's not ready for translation.

    Now what then? I like the theme :(

  10. Chouby
    Member
    Plugin Author

    Posted 3 years ago #

    Do you remember where you downloaded your theme so I can look myself ?

  11. The Crazy Travel
    Member
    Posted 3 years ago #

    I guess it would be from the main directory of wordpress.
    http://wordpress.org/extend/themes/chocotheme

  12. Chouby
    Member
    Plugin Author

    Posted 3 years ago #

    I confirm that your theme is not internationalized. I will explain the procedure to internationalize a theme in a separate post. A different title will help other users identify it.

  13. The Crazy Travel
    Member
    Posted 3 years ago #

    Would you recommend me to change to some more updated theme? So I get translations and I get more functions... I will have to lose time again with some staff... but may be this will deserve.

    My main options in the first quick research were BlogoLife and Platform. Both are translation ready.

    How Latvian support works? every theme has to be translated to every language? in that case I would need to check before installing if there is already prepair latvian for some of them? I am guessing that they will be in Spanish and in English.

  14. Chouby
    Member
    Plugin Author

    Posted 3 years ago #

    Well there are so many themes. Even the most downloaded are not so widely used and generally available in very few languages. So finding one in Spanish will be difficult, except if you go to a themes developped by the WordPress team (twenty eleven, twenty ten...) but the design is not as ... compared to your theme :-p

  15. The Crazy Travel
    Member
    Posted 3 years ago #

    Ok, let's do the internationalition then. :-P

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags