XE의 문서 다국어 기능 지원.

- 글작성시 작성당시 작성자의 언어코드가 문서의 기본 언어로 문서 저장됨
- 글 수정시 글 수정 당시 수정자의 언어코드가 기본 언어와 다르면 원글을 수정하는 것이 아니라 새로운 언어코드로 등록됨
- 글을 볼때 보는 사용자의 언어코드에 따라서 같은 언어코드 > 원문서 기본 언어 > 기타 로 보여짐
- 즉 하나의 글에 대해서 여러 언어코드가 지원이 되는 구조임
- 제목/ 내용/ 확장변수 모두 적용


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5808 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-03-09 09:27:39 +00:00
parent c7af0de65e
commit 02b8e5684f
15 changed files with 249 additions and 133 deletions

View file

@ -4,9 +4,10 @@
<table name="document_extra_vars" alias="extra_vars" type="left join">
<conditions>
<condition operation="equal" column="extra_vars.module_srl" default="extra_keys.module_srl" />
<condition operation="equal" column="extra_vars.document_srl" var="document_srl" pipe="and" notnull="notnull" />
<condition operation="in" column="extra_vars.document_srl" var="document_srl" pipe="and" notnull="notnull" />
<condition operation="equal" column="extra_vars.var_idx" default="extra_keys.var_idx" pipe="and" />
<condition operation="equal" column="extra_vars.lang_code" var="lang_code" pipe="and" />
<condition operation="in" column="extra_vars.lang_code" var="lang_codes" pipe="and" />
</conditions>
</table>
</tables>