• Res2

    (@res2)


    Hi Nobita

    The latest theme update has highlighted a minor problem with my previous work modifying the theme… Most of my work was done in my personal child css, but the translations, unfortunately, were not.
    I want to correct that.

    This page displays all the sentences I want to translate (permanently). I just don’t recall where to do it (I’ve forgotten):
    gestaltudvikling

    1.a: Search: Inside the textfield I’d like to translate ‘Search’ to ‘Emne’, and on the button, I’d like to translate ‘Search’ to ‘S?g’.
    1.b: There’s also a hover infobox ‘must not contain html tags’ that I’d like to translate to danish.
    (If possible, I’d also like to see and copy the code for this hoverfunction, in order to reuse its visual format in other spots on my site).

    2. All of the Posts feature ‘Posted on’ + ‘by’ + ‘This entry was posted in’. I’d like to change all those. Where, and how do I make my translations permanent?

    3. There is a vcard link on the author name that I want to disable?
    3.b: Better yet, I’d like to exchange the vcard link with a hover popup thumbnail img of my smiling face… (How?)

    4. ‘Monthly Archives’ should be translated, too. Where? (appears if you click September 2014 in the right sidebar) Also, the formatting of the month on the page itself does not look good. Where can I change the headlines month-format from ‘2014 9’ to ‘September 2014’?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Res2

    (@res2)

    Oh, never mind point 4. I switched to using the category widgets instead.

    Theme Author nobita

    (@nobita)

    Translation customize easy way

    Using gettext filter

    add_filter('gettext', 'raindrops_change_translate',10,3);
    
    function raindrops_change_translate($translation, $text, $domain) {
    
    	$names= array(
    		'Search' => 'S?g',
    		);
    
     if ($domain == 'Raindrops') {
     	$translation= str_replace(array_keys($names), array_values($names), $translation);
     }
     return $translation;
    }

    ‘2014 9’ to ‘September 2014’?

    Dashboard / Settings / General

    Please change date format & time format

    Thank you.

    Thread Starter Res2

    (@res2)

    It’s a nice filter. Thanks!

    How do I kill or change the link from author name?
    (I also wish to kill the link from the date to the calender)

    Thread Starter Res2

    (@res2)

    Also, I’d like to change the ‘S?g’ within the textbox to ‘Emne’, so that including the searchbutton, it doesn’t say S?g – S?g (redundant) but Emne – S?g.

    How?

    Theme Author nobita

    (@nobita)

    kill the links

    style.css

    #wp-calendar a, /*calendar*/
    .entry-meta-default .author a, /* single */
    .posted-on .author a{         /* loop */
        pointer-events: none;
        cursor: default;
        text-decoration:none;
    }
    /* browser supoort see https://caniuse.com/#feat=pointer-events*/

    search form

    When the search box, you want to further customize the template customization is required.

    If you use child theme then copy from raindrops( searchform.php ) to paste child theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Making translations permanent’ is closed to new replies.