영어 이외의 언어에 대한 작업

중국어, 프랑스어, 독일어 또는 히브리어로 솔루션 프로젝트를 작성하고 이 언어를 사용하여 비즈니스 규칙을 쓸 수 있습니다.

이 태스크 정보

중국어, 프랑스어, 독일어 또는 히브리어로 전부 규칙을 쓰려면 솔루션 프로젝트 및 해당 비즈니스 모델을 준비해야 합니다.

프로시저

  1. 솔루션 프로젝트를 작성하고 언어 설정 섹션에서 규칙에 사용하려는 언어를 선택하십시오.
  2. 엔티티 및 이벤트의 비즈니스 모델 정의를 쓰고 사전 정의를 사용하여 해당 번역을 지정하십시오. 예를 들어, person 엔티티와 address, phone number 및 age 속성에 대한 프랑스어 번역을 정의할 수 있습니다.
    French dictionary:
    	use personne for person with gender feminine,
    	use adresse for address with gender feminine , 
    	use numéro de téléphone for phone number,
    	use âge for age.
    번역하는 용어는 엔티티, 이벤트, 개념, 속성, 열거의 값 및 데이터 제공자를 나타내는 비즈니스 용어입니다.
  3. 규칙 에이전트를 영어로 정의하십시오. 정의에서 번역된 용어를 사용한 경우 규칙 에이전트 디스크립터의 플레이스홀더에서 이 용어를 사용하십시오.
  4. 솔루션 프로젝트를 작성할 때 선택한 솔루션 언어로 규칙을 쓰십시오. 자동 완성 메뉴는 비즈니스 모델 정의에서 정의한 번역과 함께 이 언어로 구문을 제시합니다.

프랑스어로 작성된 솔루션 프로젝트 예제

다음 비즈니스 모델 정의는 각 용어에 대해 프랑스어 번역을 사용하는 솔루션 프로젝트의 엔티티 및 이벤트를 정의합니다.
a person is a business entity identified by an ID.
a person has an address, a phone number, an age.

a purchase is a business event.
a purchase is related to a person.
a purchase has a total price (a number).

a coupon is a business event.
	
French dictionary:
	use personne for person with gender feminine,
	use adresse for address with gender feminine , 
	use numéro de téléphone for phone number,
	use âge for age,
	use achat for purchase,
	use prix total for total price with plural prix totaux,
	use réduction for coupon with gender feminine . 
다음 에이전트는 영어로 purchase 이벤트를 처리합니다.
'French_agent' is an agent related to a person  , 
processing events:
- purchase , where this person comes from the person of this purchase 
결과적으로 다음 규칙은 프랑스어 용어 및 구문을 사용할 수 있습니다.
quand un achat survient 
   si le prix total de cet achat est plus grand que 100
alors
   émettre une nouvelle réduction ;