Viewing 8 replies - 1 through 8 (of 8 total)
  • Hola Cheche,

    I’m newbie in wordpress, and I don’t know exactly what I have to do. Just copy the files you have shared into the magazine basic directory?

    Thread Starter cheche

    (@cheche)

    I have it on :

    Copy es_ES.* from https://github.com/juanjosepablos/magazine-basic-fix/tree/master/library/languages to:

    wordpress/wp-content/themes/magazine-basic/library/languages

    Hi Cheche, Is not working but probably because I have not downloaded it correctly.

    I have not found a download link for any of the files. I have clicked on es_ES.mo “Raw” and efectively downloaded the file, but doing the same for es_ES.po what you get apparently is the content of the *.mo file. I have copied and pasted to a new es.ES.po on my environment. Then I have copied them to ../wp-content/themes/magazine-basic/library/languages. Nothing has changed.

    BTW, I’m using a child theme, but I have installed the es_ES.* on the mother theme not on the child

    Hi,

    I have finally managed to install what Cheche kindly shared. GitHUB is a bit tricky for not developers, but finally succeed. It is relevant to share that Cheche’s fix make the Theme

    fully valid to translate to any language

    . Only requires the corresponding .po file.

    There is just one bug still existing: Comment’s text does not translate. I have tried to correct it but my lack of PHP knowledge impedes it.

    What needs to be corrected is this sentence in comments.php file:

    <?php if ( have_comments() ) : ?>	<h2 id="comments-title">
    <?php	printf( _n( '1 comment for &ldquo;%2$s&rdquo;', '%1$s comments for &ldquo;%2$s&rdquo;', get_comments_number(), 'es_ES' ),

    Currently, the result is that “1 comment” or “X comments for” does not translate.

    It would be great is someone can provide the correct php code.

    Thread Starter cheche

    (@cheche)

    ok. I will have a look.

    Thread Starter cheche

    (@cheche)

    PHP code is fine. The only problem is that is plural. so you need to fix a couple of issues.
    I notice that there is some typo on the language domain.
    https://github.com/juanjosepablos/magazine-basic-fix/commit/fbf5807d032b56fe44925bcb034df441d0353d1e

    maybe you would like to fix them as well

    Thanks Cheche,

    Effectively, there was the typo error on the language domain. I have made the changes from “basic-magazine” to “magazine-basic” but the comments text remains non translated.

    Thread Starter cheche

    (@cheche)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Some Translations fixes’ is closed to new replies.