1"use strict";(self.webpackChunkclaude_hq=self.webpackChunkclaude_hq||[]).push([[3548],{97317:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>g,default:()=>p,frontMatter:()=>c,metadata:()=>a,toc:()=>u});const a=JSON.parse('{"id":"faqs/what-is-language-setting-in-claude-code","title":"What is Language Setting in Claude Code","description":"Claude Code language setting configures response language (Japanese, Spanish, etc.) to prevent English switching after context compaction. Added in v2.1.0.","source":"@site/docs/faqs/what-is-language-setting-in-claude-code.md","sourceDirName":"faqs","slug":"/faqs/what-is-language-setting-in-claude-code","permalink":"/faqs/what-is-language-setting-in-claude-code","draft":false,"unlisted":false,"tags":[],"version":"current","lastUpdatedAt":1768855025000,"sidebarPosition":202,"frontMatter":{"sidebar_position":202,"date":"2026-01-19","image":"img/discovery/002.png","title":"What is Language Setting in Claude Code","description":"Claude Code language setting configures response language (Japanese, Spanish, etc.) to prevent English switching after context compaction. Added in v2.1.0.","displayed_sidebar":"tutorialSidebar","hide_breadcrumbs":true},"sidebar":"tutorialSidebar"}');var t=s(74848),i=s(28453),o=s(33895),r=s(42219),d=s(5260);const c={sidebar_position:202,date:"2026-01-19",image:"img/discovery/002.png",title:"What is Language Setting in Claude Code",description:"Claude Code language setting configures response language (Japanese, Spanish, etc.) to prevent English switching after context compaction. Added in v2.1.0.",displayed_sidebar:"tutorialSidebar",hide_breadcrumbs:!0},g="What is Language Setting in Claude Code",l={},u=[{value:"How to Configure It",id:"how-to-configure-it",level:3},{value:"Common Use Cases",id:"common-use-cases",level:3}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h1:"h1",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.A,{children:(0,t.jsx)("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"What is the language setting in Claude Code?",acceptedAnswer:{"@type":"Answer",text:"The language setting configures Claude Code to respond in a specific language (Japanese, Spanish, etc.) consistently throughout your session, preventing automatic switching to English after context compaction."}},{"@type":"Question",name:"How do I configure Claude Code response language?",acceptedAnswer:{"@type":"Answer",text:'Add the language setting to ~/.claude/settings.json or .claude/settings.json with your preferred language, for example: {"language": "japanese"}.'}}]})})}),"\n",(0,t.jsx)(r.A,{breadcrumbs:[{label:"FAQs",href:"/faq"},{label:"What is Language Setting",href:"/faqs/what-is-language-setting-in-claude-code"}],currentPage:"What is Language Setting"}),"\n",(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"what-is-language-setting-in-claude-code",children:"What is Language Setting in Claude Code"})}),"\n",(0,t.jsxs)(n.p,{children:["The ",(0,t.jsx)(n.code,{children:"language"})," setting configures Claude Code to respond in a specific language consistently throughout your session. It prevents automatic switching to English after context compaction or other internal operations. Added in ",(0,t.jsx)(n.code,{children:"v2.1.0"}),"."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(o.Ay,{}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"how-to-configure-it",children:"How to Configure It"}),"\n",(0,t.jsxs)(n.p,{children:["Add the ",(0,t.jsx)(n.code,{children:"language"})," setting to your ",(0,t.jsx)(n.code,{children:"settings.json"}),":"]}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "language": "japanese"\n}\n'})}),"\n",(0,t.jsxs)(n.p,{children:["Any natural language works: ",(0,t.jsx)(n.code,{children:'"japanese"'}),", ",(0,t.jsx)(n.code,{children:'"spanish"'}),", ",(0,t.jsx)(n.code,{children:'"french"'}),", ",(0,t.jsx)(n.code,{children:'"german"'}),", ",(0,t.jsx)(n.code,{children:'"chinese"'}),", ",(0,t.jsx)(n.code,{children:'"korean"'}),", etc."]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.h3,{id:"common-use-cases",children:"Common Use Cases"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Japanese development teams"})," - Consistent Japanese responses in code reviews and debugging"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Multilingual projects"})," - Per-project language settings for teams working in different languages"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Non-English documentation"}
1)," - Generate docs, commits, and PRs in your preferred language"]}),"\n"]}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsx)(n.admonition,{title:"Image Tip:/img/discovery/002.png|Language Consistency",type:"tip",children:(0,t.jsxs)(n.p,{children:["The ",(0,t.jsx)(n.code,{children:"language"})," setting eliminates English reversion after context operations, enabling seamless non-English workflows for global teams."]})}),"\n",(0,t.jsx)(o.Ay,{}),"\n",(0,t.jsx)(n.hr,{}),"\n",(0,t.jsxs)(n.p,{children:["See Also: ",(0,t.jsx)(n.a,{href:"/configuration",children:"Configuration"}),(0,t.jsx)("span",{className:"see-also-divider",children:"|"}),(0,t.jsx)(n.a,{href:"/faqs/where-are-claude-code-global-settings",children:"Global Settings"})]})]})}function p(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.