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:
Ralf (infinity) 2017-04-23 17:26:54 +02:00
commit 4fde479aba
41 changed files with 352 additions and 147 deletions

View file

@ -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(); ?>