• Hello,

    may i need help to resolve little issue.

    1) I want not only the Date in my post, i need also the published time. Where and how can I change the format?
    2) I have created a German language file, copied it to the Language directory, but how do I integrate it now?

    Ron

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Hi,

    1) You would need to edit single.php with a child theme and add:
    https://codex.www.ads-software.com/Function_Reference/the_modified_time – as you wish to display it.

    2) The theme should be translatable like any other theme. Read more here:
    https://premium.wpmudev.org/blog/how-to-translate-a-wordpress-theme/

    Thread Starter philippinenmagazin

    (@philippinenmagazin)

    Sorry, but this is bullshit support!!!

    for 2) you must not link me what i did already. But read my first post here. omg

    for 1) i dont want modified time, i want post the time and date, not only date.

    Thanks for nothing, so i will delete your bullshit theme!!!

    Theme Author Alexander Agnarson

    (@alxmedia)

    Sorry if I misunderstood your questions.

    1) If you want to add time, you would need to add this to a child theme, in for example single.php on line 14:

    
    <?php the_time(); ?>
    

    Modify the_time as you wish, to get the times you want to display: https://codex.www.ads-software.com/Template_Tags/the_time

    2) It’s hard for me to know what is wrong just knowing that you added the lang file in the directory – that’s why I linked to the guide, so that you can check if you’ve missed any step. You are the first person to report an issue with the language part in any of my themes.

    Thanks for telling me that the theme is bullshit and that the support is bullshit when I try to help you, I appreciate it.

    Hello Mr. Agnarson,

    is it possible to translate the Theme with the “Loco Translate” plugin?

    Loco-Translate Info shows everything fine:
    —–
    In sync with template

    PO file has the same source strings as “kontrast.pot”.
    PO file is writeable

    You can update these translations directly from the editor to the file system.

    -rw-r–r– 4019884:power languages/loco/themes/kontrast-de_DE_formal.po
    Directory is writeable

    The containing directory is writeable by , so you can add new files in the same location.

    drwxr-xr-x 4019884:power languages/loco/themes
    ——–

    The plugin is load all 248 Sourcetext and i can add my translation. But it doesnt change on the website.

    I appreciate any help

    Editing the kontrast.pot with Poedit working fine. Just want to know if there is a way to translate it online.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘some little issue – language and date / time’ is closed to new replies.