英語以外の言語の処理
ソリューション・プロジェクトは、中国語、フランス語、ドイツ語、またはヘブライ語で作成可能で、 この言語を使用してビジネス・ルールを作成します。
このタスクについて
中国語、フランス語、ドイツ語、またはヘブライ語でルールをすべて作成するには、ソリューション・プロジェクトとそのビジネス・モデルを準備します。
手順
フランス語のソリューション・プロジェクトの例
以下のビジネス・モデル定義では、ソリューション・プロジェクトのエンティティーおよびイベントを各用語のフランス語の翻訳で定義しています。
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 ;