Explorar o código

added in prep for language translation

eddiemachado %!s(int64=13) %!d(string=hai) anos
pai
achega
5a661df2f7
Modificáronse 1 ficheiros con 25 adicións e 0 borrados
  1. 25 0
      library/translation/translation.php

+ 25 - 0
library/translation/translation.php

@@ -0,0 +1,25 @@
+<?php
+/* Welcome to Bones :)
+Thanks to the fantastic work by Bones users, we've now
+the ability to translate Bones into different languages.
+
+Developed by: Eddie Machado
+URL: http://themble.com/bones/
+*/
+
+
+
+// Adding Translation Option
+load_theme_textdomain( 'bonestheme', TEMPLATEPATH.'/languages' );
+$locale = get_locale();
+$locale_file = TEMPLATEPATH."/languages/$locale.php";
+if ( is_readable($locale_file) ) require_once($locale_file);
+
+
+
+
+
+
+
+
+?>