Commit graph

32 commits

Author SHA1 Message Date
Kijin Sung
07d97242ec Unify lang and locale config files 2016-07-03 23:58:11 +09:00
Kijin Sung
321015e050 Merge pull request #385 from kijin/pr/more-framework-classes
Rhymix Framework 각종 기능 추가
2016-03-20 00:06:01 +09:00
Kijin Sung
740de5caf3 Replace FileHandler calls and other paths in Rhymix Framework 2016-03-18 21:03:22 +09:00
Kijin Sung
15e3360609 Also support dot notation when setting new language keys 2016-03-17 14:52:05 +09:00
Kijin Sung
014e7f13a4 Move string interpolation from __call() to get() 2016-03-17 14:11:33 +09:00
Kijin Sung
09eb7935fa Refactor default language search routine for better performance 2016-03-17 13:58:57 +09:00
Kijin Sung
5d13c67cae Merge Lang::getPluginLang() back into Lang::loadDirectory() 2016-03-17 13:29:35 +09:00
Kijin Sung
cb229c2d66 Clean up namespaces 2016-03-14 21:04:27 +09:00
conory
fc09ea0d47 파라미터없이 lang()함수 사용시 현재 사용하고 있는 언어타입 반환
lang 에 set 메소드를 추가함 (실제로 set이 되지않는 문제수정)
2016-03-06 16:35:01 +09:00
conory
f13b7bf999 ArrayObject 에러 수정 2016-03-04 16:43:38 +09:00
conory
4c475b5b62 배열로 된 언어인 경우 요소가 하나라도 빠져있으면 영어로 대체하기 2016-03-04 13:16:03 +09:00
conory
b141e69dbc 코드 개선 (한글 대체 포기) 2016-03-04 11:16:54 +09:00
conory
6a351265ff 변수 충돌 부분 수정 2016-03-03 12:32:31 +09:00
conory
b9a8b15fe9 인스턴스 활용 2016-03-03 11:56:19 +09:00
conory
5f563af984 사용하는 언어에 언어코드가 없을 경우 다른 언어에서 찾아 가져오기
번역되지않은 문장이 있는 경우 달랑 언어코드만을 출력하지말고, 다른 언어로 대체하기 (영어 우선)
2016-03-02 23:53:49 +09:00
Kijin Sung
0b339a9450 Fix #277 Incorrect priority when loading old lang files 2016-02-24 10:37:16 +09:00
Kijin Sung
8a7f509a1a Separate XML lang parser into its own class 2016-02-08 15:46:48 +09:00
Kijin Sung
5afefc063c Merge branch 'develop' into pr/new-config-format
Conflicts:
	classes/context/Context.class.php
2016-02-05 19:37:10 +09:00
Kijin Sung
58df8ae7f5 Fix parsing of XML lang files with 3 or more levels of hierarchy 2016-02-05 17:54:39 +09:00
Kijin Sung
497d3f2d22 Fix compatibility with code that uses lang arrays as objects 2016-02-05 15:39:55 +09:00
Kijin Sung
a36bc03970 Simplify FTP configuration using new format 2016-02-04 16:10:52 +09:00
Kijin Sung
56f4bdaa09 Also autoload common lang files when requested 2016-02-01 15:04:46 +09:00
Kijin Sung
61e1108afb Autoload plugin when language translation is requested 2016-02-01 14:23:53 +09:00
Kijin Sung
693fce7601 Allow plugin name in language keys 2016-02-01 13:43:14 +09:00
Kijin Sung
5c1a68ae16 Keep translations from different sources separate 2016-02-01 13:30:15 +09:00
Kijin Sung
8b1160c320 Add batch converter for language files 2016-01-31 15:37:29 +09:00
Kijin Sung
fe121a0f18 Improve array handling in lang parser 2016-01-31 15:27:02 +09:00
Kijin Sung
1eba1a6f12 Add option to specify the output filename when converting languages 2016-01-31 14:56:01 +09:00
Kijin Sung
f45779c3f8 Simplify loading function for supported language list 2016-01-31 14:47:01 +09:00
Kijin Sung
a39e0b0993 Alias 'jp' to 'ja' for backward compatibility 2016-01-30 22:32:33 +09:00
Kijin Sung
f1e90df660 Fix syntax incompatible with PHP 5.3 2016-01-27 17:51:59 +09:00
Kijin Sung
f68e6118bc Initial implementation of lang class that prefers PHP to XML 2016-01-27 16:26:06 +09:00