mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 04:56:23 +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
|
||||
echo '<h2>Your recent posts</h2>';
|
||||
echo '<h2>' . i18n('Your_recent_posts') . '</h2>';
|
||||
get_user_posts();
|
||||
echo '<h2>Static pages</h2>';
|
||||
echo '<h2>' . i18n('Static_pages') . '</h2>';
|
||||
get_user_pages(); ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue