\ExplSyntaxOn % Use tilde (~) for spaces.

% Japanese captions
\addto\captionsjapanese
  {
    % Monster basics
    \renewcommand\armorclassname{AC:}
    \renewcommand\hitpointsname{hp:}
    \renewcommand\speedname{移動速度:}
    % Monster ability scores
    \renewcommand\strstatname{【筋】}
    \renewcommand\dexstatname{【敏】}
    \renewcommand\constatname{【耐】}
    \renewcommand\intstatname{【知】}
    \renewcommand\wisstatname{【判】}
    \renewcommand\chastatname{【魅】}
    % Monster details
    \renewcommand\skillsname{技能:}
    \renewcommand\dimmname{ダメージ完全耐性:}
    \renewcommand\dvulname{ダメージ脆弱性:}
    \renewcommand\dresname{ダメージ抵抗:}
    \renewcommand\cimmname{状態完全耐性:}
    \renewcommand\savesname{セーブ:}
    \renewcommand\sensesname{感覚:}
    \renewcommand\defaultsensesname{受動〈知覚〉10}
    \renewcommand\languagesname{言語:}
    \renewcommand\challengename{脅威度:}
    \renewcommand\xpname{XP}
    % Monster attack
    \renewcommand\unitsname{フィート}
    \renewcommand\meleeattackname{近接武器攻撃:}
    \renewcommand\rangedattackname{遠隔武器攻撃:}
    \renewcommand\meleeorrangedattackname{近接/遠隔武器攻撃:}
    \renewcommand\orname{または}
    \renewcommand\tohitname{攻撃|1|}
    \renewcommand\defaulttargetsname{目標1つ}
    \renewcommand\reachname{間合い}
    \renewcommand\rangename{射程}
    \renewcommand\hitname{ヒット:}
    \renewcommand\damagename{ダメージ}
    \renewcommand\plusname{および}
    % Spell levels
    \renewcommand\spellcantripsname{初級呪文}
    \renewcommand\spellfirstlevelname{1レベル}
    \renewcommand\spellsecondlevelname{2レベル}
    \renewcommand\spellthirdlevelname{3レベル}
    \renewcommand\spellfourthlevelname{4レベル}
    \renewcommand\spellfifthlevelname{5レベル}
    \renewcommand\spellsixthlevelname{6レベル}
    \renewcommand\spellseventhlevelname{7レベル}
    \renewcommand\spelleighthlevelname{8レベル}
    \renewcommand\spellninthlevelname{9レベル}
    % Spell slots
    \renewcommand\spellatwillname{無限回}
    \renewcommand\spelloneslotname{1スロット}
    \renewcommand\spelltwoslotsname{2スロット}
    \renewcommand\spellthreeslotsname{3スロット}
    \renewcommand\spellfourslotsname{4スロット}
    % Innate spellcasting
    \renewcommand\innateatwillname{無限回}
    \renewcommand\numberperdayname{|1|回/日}
    \renewcommand\numberperdayeachname{各|1|回/日}
    % Spell header
    \renewcommand\spellcastingtimename{発動時間}
    \renewcommand\spellrangename{射程}
    \renewcommand\spellcomponentsname{構成要素}
    \renewcommand\spelldurationname{持続時間}
    % Miscellaneous
    \renewcommand\tocchapterabbreviationname{章} % TODO: Update to 第|1|章 when https://github.com/rpgtex/DND-5e-LaTeX-Template/issues/308 is closed
    \renewcommand\pageabbreviationname{ページ} % TODO: Update to |1|ページ when https://github.com/rpgtex/DND-5e-LaTeX-Template/issues/308 is closed
    \renewcommand\dname{d}
  }