✅ 다음 두 개의 국제화(i18n) 메시지 파일이 생성되었습니다:
/mnt/data/i18n/messages_ko.properties (한국어)/mnt/data/i18n/messages_en.properties (영어)이제 각 언어에 맞는 메시지를 다음 형식으로 입력하시면 됩니다:
messages_ko.properties 예시:cert.title=제증명 신청
cert.form.type=증명서 종류
cert.form.startDate=시작일
cert.form.endDate=종료일
cert.form.purpose=용도
cert.form.recipient=제출처
cert.form.submit=신청하기
messages_en.properties 예시:cert.title=Certificate Application
cert.form.type=Certificate Type
cert.form.startDate=Start Date
cert.form.endDate=End Date
cert.form.purpose=Purpose
cert.form.recipient=Recipient
cert.form.submit=Apply
<h3 th:text="#{cert.title}">제증명 신청</h3>
<label th:for="type" th:text="#{cert.form.type}">증명서 종류</label>
<select id="type" name="certificateType" class="form-select"></select>
<label th:text="#{cert.form.startDate}">시작일</label>
<input type="date" name="startDate" />
<!-- 이하 생략 -->
<button type="submit" class="btn btn-primary" th:text="#{cert.form.submit}">신청하기</button>
spring:
messages:
basename: i18n/messages
encoding: UTF-8
thymeleaf:
encoding: UTF-8
필요하시면 기본 메시지 항목도 생성해드릴 수 있어요. 원하시나요?