diff --git a/data/gacha_details.html b/data/gacha/details.html
similarity index 98%
rename from data/gacha_details.html
rename to data/gacha/details.html
index ccd775ef6..85443d532 100644
--- a/data/gacha_details.html
+++ b/data/gacha/details.html
@@ -84,7 +84,7 @@
var fiveStarItems = {{FIVE_STARS}};
var fourStarItems = {{FOUR_STARS}};
var threeStarItems = {{THREE_STARS}};
- var lang = "{{LANGUAGE}}";
+ var lang = "{{LANGUAGE}}".toLowerCase();
function getNameForId(itemId) {
if (mappings[lang] != null && mappings[lang][itemId] != null) {
diff --git a/data/gacha_records.html b/data/gacha/records.html
similarity index 94%
rename from data/gacha_records.html
rename to data/gacha/records.html
index 7bea40f61..cad1c89d5 100644
--- a/data/gacha_records.html
+++ b/data/gacha/records.html
@@ -58,7 +58,7 @@