lang
bootstrap5.css
bootstrap5.css
.custom-file-input:lang(en) ~ .custom-file-label::after {
content: "Browse";
}
html bootstrap5 Sample
略語:abbr
ファイル選択:custom-file
<form>
<div class="mb-5">
<input type="file" id="dafaultFile" lang="ja">
<label for="dafaultFile">ファイル選択...</label>
</div>
<div class="custom-file">
<input type="file" class="custom-file-input" id="customFile" lang="ja">
<label class="custom-file-label" for="customFile">ファイル選択...</label>
</div>
</form>