mirror of
https://github.com/danpros/htmly.git
synced 2026-04-23 05:56:22 +05:30
Adding language support - currently only English and German
system/htmly.php - Loads language files from folder lang/ - Sets language settings for date and time format system/includes/dispatch.php - function i18n() returns translated strings
This commit is contained in:
parent
5423d65cdc
commit
4fde479aba
41 changed files with 352 additions and 147 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<?php if (isset($is_category)):?>
|
||||
<header class="page-header"><h1 class="page-title">Category: <?php echo $category->title;?></h1><div class="taxonomy-description"><?php echo $category->body;?></div></header>
|
||||
<header class="page-header"><h1 class="page-title"><?php echo i18n('Category');?>: <?php echo $category->title;?></h1><div class="taxonomy-description"><?php echo $category->body;?></div></header>
|
||||
<?php endif;?>
|
||||
<?php if (isset($is_tag)):?>
|
||||
<header class="page-header"><h1 class="page-title">Tag: <?php echo $tag->title;?></h1></header>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue