Developer Preview — APIs and language features may change before 1.0
Localized Keywords
You can write mashinTalk in your language. Every keyword, type name, and modifier has a native translation. Seven locales ship today, with more coming.
Supported Locales
Locale
Directive
Example
English
(default, no directive needed)
machine greeter
Français
ecrit en francais
machine greeter
Español
escrito en español
máquina greeter
日本語
で書かれた 日本語
マシン greeter
中文
编写于 中文
机器 greeter
Deutsch
geschrieben in deutsch
Maschine greeter
한국어
로 작성됨 한국어
기계 greeter
Place the written in directive on the first line of your .mashin file. All keywords after that line are resolved from that locale’s dictionary.
Structure Keywords
Canonical
EN
FR
ES
JA
ZH
DE
KO
machine
machine
machine
máquina
マシン
机器
Maschine
기계
accepts
accepts
accepte
acepta
受け取る
接受
akzeptiert
받는다
responds with
responds with
répond avec
responde con
で応答する
回应
antwortet mit
로 응답한다
implements
implements
implémente
implementa
実装
实现
implementiert
구현
ensures
ensures
assure
asegura
保証
确保
gewährleistet
보장
achieves
achieves
atteint
logra
達成
达成
erreicht
달성
verifies
verifies
vérifie
verifica
検証
验证
überprüft
검증
expresses
expresses
expose
expresa
表現
表达
stellt dar
표현
stores
stores
stocke
almacena
格納
存储
speichert
저장
has
has
a
tiene
持つ
具有
hat
가진다
Step Keywords
Canonical
EN
FR
ES
JA
ZH
DE
KO
compute
compute
calcule
calcula
計算
算
berechnet
계산
ask
ask
demande
pregunta
聞く
问
fragt
묻다
decide
decide
décide
decide
判断
判断
entscheidet
결정
recall
recall
rappelle
recuerda
思い出す
回忆
erinnert
회상
remember
remember
retient
memoriza
記憶
记住
merkt
기억
launch
launch
lance
lanza
起動
启动
startet
시작
wait for
wait for
suspend
aguarda
待つ
等待
wartet auf
기다리다
for each
for each
pour chaque
para cada
それぞれ
每个
für jedes
각각
Control Flow
Canonical
EN
FR
ES
JA
ZH
DE
KO
if
if
si
si
もし
如果
wenn
만약
else
else
sinon
sino
でなければ
否则
sonst
아니면
on failure
on failure
en cas d’échec
en caso de fallo
失敗時
失败时
bei Fehler
실패 시
Governance
Canonical
EN
FR
ES
JA
ZH
DE
KO
permissions
permissions
autorisations
permisos
権限設定
权限
Berechtigungen
권한
allowed to
allowed to
autorisé à
autorizado a
許可
允许
darf
허용
not allowed to
not allowed to
interdit de
prohibido
禁止されている
禁止
darf nicht
금지됨
goal
goal
objectif
objetivo
目標
目标
Ziel
목표
never
never
jamais
nunca
決して
绝不
niemals
금지
Test Keywords
Canonical
EN
FR
ES
JA
ZH
DE
KO
test
test
test
prueba
テスト
测试
Test
테스트
given
given
étant donné
dado
前提
给定
angenommen
주어진
expect
expect
attend
espera
期待
期望
erwartet
기대
assuming
assuming
supposant
asumiendo
仮定
假设
vorausgesetzt
가정
Field Declarations
Field declarations use locale-specific connectors and type names:
Component
EN
FR
ES
JA
ZH
DE
KO
field as
as
en tant que
como
として
为
als
로
required
required
requis
requerido
必須
必填
erforderlich
필수
text type
text
texte
texto
テキスト
文本
Text
텍스트
number type
number
nombre
numero
数値
数字
Zahl
숫자
boolean type
boolean
booleen
booleano
真偽
布尔
Wahrheitswert
불리언
Example: Field Declaration in Each Locale
English: name as text, required
Français: nom en tant que texte, requis
Español: nombre como texto, requerido
日本語: 名前 として テキスト, 必須
中文: 名字 为 文本, 必填
Deutsch: name als Text, erforderlich
한국어: 이름 로 텍스트, 필수
Adding a New Locale
Adding a locale requires mapping approximately 120 keywords and content patterns. The compiler, runtime, governance, and all tooling work unchanged. See the mashinTalk specification for the full keyword list.