-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsupport.html
More file actions
270 lines (269 loc) · 25 KB
/
Copy pathsupport.html
File metadata and controls
270 lines (269 loc) · 25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Support — PicClear Pro</title>
<link rel="canonical" href="https://alice51849.github.io/picclear-support/support.html">
<meta name="description" content="PicClear Pro support FAQ for on-device scanning, privacy, Full Unlock, restore purchase, deleted photos, favorites protection, and resetting local data.">
<link rel="icon" href="assets/favicon.svg">
<link rel="stylesheet" href="style.css">
<!-- ls-i18n:start -->
<link rel="alternate" hreflang="en" href="https://alice51849.github.io/picclear-support/support.html">
<link rel="alternate" hreflang="zh-Hant" href="https://alice51849.github.io/picclear-support/zh-Hant/support.html">
<link rel="alternate" hreflang="zh-Hans" href="https://alice51849.github.io/picclear-support/zh-Hans/support.html">
<link rel="alternate" hreflang="ja" href="https://alice51849.github.io/picclear-support/ja/support.html">
<link rel="alternate" hreflang="ko" href="https://alice51849.github.io/picclear-support/ko/support.html">
<link rel="alternate" hreflang="de-DE" href="https://alice51849.github.io/picclear-support/de-DE/support.html">
<link rel="alternate" hreflang="fr-FR" href="https://alice51849.github.io/picclear-support/fr-FR/support.html">
<link rel="alternate" hreflang="es-ES" href="https://alice51849.github.io/picclear-support/es-ES/support.html">
<link rel="alternate" hreflang="pt-BR" href="https://alice51849.github.io/picclear-support/pt-BR/support.html">
<link rel="alternate" hreflang="x-default" href="https://alice51849.github.io/picclear-support/support.html">
<!-- ls-i18n:end -->
</head>
<body>
<div class="bg"><span class="blob"></span></div>
<header>
<div class="wrap nav">
<a class="brand" href="index.html"><img class="icon" src="icon.png" alt="PicClear Pro"><span>PicClear Pro</span></a>
<nav class="nav-links" aria-label="Primary navigation">
<a href="index.html#features" data-i18n="navFeatures">Features</a>
<a href="privacy.html" data-i18n="navPrivacy">Privacy</a>
<a href="support.html" data-i18n="navSupport">Support</a>
<div class="lang" aria-label="Language selector">
<button class="btn-sm lang-btn" type="button" data-lang="en">EN</button>
<button class="btn-sm lang-btn" type="button" data-lang="zh-Hant">中文</button>
<button class="btn-sm lang-btn" type="button" data-lang="ja">日本語</button>
<button class="btn-sm lang-btn" type="button" data-lang="ko">한국어</button>
</div>
<a class="btn btn-sm" href="https://apps.apple.com/app/id6780223070" data-i18n="navDownload">Download</a>
</nav>
</div>
</header>
<main>
<section class="hero wrap reveal"><img class="icon app-icon" src="icon.png" alt="PicClear Pro app icon"><h1 data-i18n="pageTitle">Support</h1><p class="sub" data-i18n="heroSub">Find answers about private scanning, deleting, purchases, and restoring photos. For direct help, email hourstag.app@gmail.com.</p></section>
<section class="wrap reveal"><div class="section-title"><span class="eyebrow" data-i18n="faqLabel">FAQ</span><h2 data-i18n="pageTitle">Support</h2></div><div class="faq">
<details open><summary data-i18n="q1">How does PicClear Pro find duplicates and similar photos?</summary><p data-i18n="a1">PicClear Pro uses Apple frameworks, including Vision and PhotoKit, to analyze your library on your device. It groups likely duplicates and similar shots so you can review them yourself.</p></details>
<details><summary data-i18n="q2">Are my photos uploaded anywhere?</summary><p data-i18n="a2">No. Analysis happens on your iPhone. Photos, videos, thumbnails, and scan results are never uploaded. PicClear Pro has no cloud processing, no account system, no ads, and no tracking.</p></details>
<details><summary data-i18n="q3">What does Full Unlock do? Is it a subscription?</summary><p data-i18n="a3">Full Unlock is a single one-time, non-subscription In-App Purchase. Downloading, scanning, and previewing are free. Full Unlock enables the actual deleting action. Pay once, owned forever.</p></details>
<details><summary data-i18n="q4">I bought Full Unlock on another device. What should I do?</summary><p data-i18n="a4">Open PicClear Pro Settings and choose Restore purchase. Make sure you are signed in with the same Apple ID used for the original purchase.</p></details>
<details><summary data-i18n="q5">Can I get deleted photos back?</summary><p data-i18n="a5">When PicClear Pro deletes items, Apple Photos moves them to Recently Deleted. Open the Photos app and check Recently Deleted to recover items during Apple’s available recovery period.</p></details>
<details><summary data-i18n="q6">Will PicClear Pro delete my favorites?</summary><p data-i18n="a6">Favorites can be protected, and PicClear Pro does not delete anything automatically. You review items and confirm before anything is moved to Recently Deleted.</p></details>
<details><summary data-i18n="q7">How do I delete PicClear Pro data?</summary><p data-i18n="a7">In the app, open Settings → Reset all data. This clears local PicClear Pro counts, scan statistics, and settings. It does not delete your photo library.</p></details>
<details><summary data-i18n="q8">Which languages does the app support?</summary><p data-i18n="a8">PicClear Pro supports English, Traditional Chinese, Japanese, and Korean.</p></details>
</div></section>
<section class="wrap doc reveal"><article class="card"><h2 data-i18n="contactTitle">Contact</h2><p data-i18n="contactText">Email us at hourstag.app@gmail.com. Please include your device model, iOS version, and a short description of the issue.</p></article></section>
</main>
<!-- ls-help:start --><section aria-label="Help & FAQ" style="max-width:1060px;margin:30px auto 6px;padding:18px 22px;background:rgba(255,250,240,.75);border:1px solid rgba(120,100,70,.2);border-radius:20px;font-family:inherit;color:#3a3128"><h2 style="margin:0 0 6px;font-size:17px;color:#3a3128">Help & FAQ</h2><p style="margin:0 0 10px;font-size:14.5px;color:#6b5f4f">Common questions, tips and troubleshooting for PicClear Pro.</p><p style="margin:0;display:flex;flex-wrap:wrap;gap:18px;font-size:14.5px"><a href="help.html" style="font-weight:600;text-decoration:none">Open Help & FAQ →</a><a href="https://apps.apple.com/app/id6780223070" rel="noopener" style="font-weight:600;text-decoration:none">View on the App Store →</a></p></section><!-- ls-help:end -->
<!-- ls-family:start --><section aria-label="More apps from the same developer" style="max-width:1060px;margin:34px auto 26px;padding:20px 22px;background:rgba(255,250,240,.75);border:1px solid rgba(120,100,70,.2);border-radius:20px;font-family:inherit"><h2 style="margin:0 0 14px;font-size:17px;color:#3a3128">More apps from the same developer</h2><div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px"><a href="https://apps.apple.com/app/id6782275018" rel="noopener" style="display:flex;align-items:center;gap:12px;padding:12px 14px;background:rgba(255,255,255,.92);border:1px solid rgba(120,100,70,.18);border-radius:16px;text-decoration:none;color:#3a3128;min-width:0"><img src="https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/de/fe/86/defe864b-3614-42f3-602c-b0f58c25b907/AppIcon-0-0-1x_U007epad-0-1-85-220.png/100x100bb.jpg" alt="" width="46" height="46" loading="lazy" style="border-radius:11px;flex:0 0 auto" /><span style="min-width:0"><strong style="display:block;font-size:14px;line-height:1.35">Unblurry Pro: Unblur & HD</strong><span style="display:block;font-size:12px;color:#8a7d6b">Photo & Video · View on the App Store</span></span></a><a href="https://apps.apple.com/app/id6792856304" rel="noopener" style="display:flex;align-items:center;gap:12px;padding:12px 14px;background:rgba(255,255,255,.92);border:1px solid rgba(120,100,70,.18);border-radius:16px;text-decoration:none;color:#3a3128;min-width:0"><img src="https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/cf/c9/2d/cfc92d97-7246-704e-964f-3eb5c903ffa7/AppIcon-0-0-1x_U007epad-0-1-85-220.png/100x100bb.jpg" alt="" width="46" height="46" loading="lazy" style="border-radius:11px;flex:0 0 auto" /><span style="min-width:0"><strong style="display:block;font-size:14px;line-height:1.35">Snapport Lite</strong><span style="display:block;font-size:12px;color:#8a7d6b">Photo & Video · View on the App Store</span></span></a><a href="https://apps.apple.com/app/id6792850916" rel="noopener" style="display:flex;align-items:center;gap:12px;padding:12px 14px;background:rgba(255,255,255,.92);border:1px solid rgba(120,100,70,.18);border-radius:16px;text-decoration:none;color:#3a3128;min-width:0"><img src="https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/7d/9c/f2/7d9cf2ec-ff7e-0ad1-0ca9-7893f9bd9837/AppIcon-0-0-1x_U007epad-0-1-85-220.png/100x100bb.jpg" alt="" width="46" height="46" loading="lazy" style="border-radius:11px;flex:0 0 auto" /><span style="min-width:0"><strong style="display:block;font-size:14px;line-height:1.35">Mask My File</strong><span style="display:block;font-size:12px;color:#8a7d6b">Utilities · View on the App Store</span></span></a><a href="https://apps.apple.com/app/id6781808054" rel="noopener" style="display:flex;align-items:center;gap:12px;padding:12px 14px;background:rgba(255,255,255,.92);border:1px solid rgba(120,100,70,.18);border-radius:16px;text-decoration:none;color:#3a3128;min-width:0"><img src="https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/bf/34/5f/bf345f59-54fd-d21f-a280-5be2e60534be/AppIcon-0-0-1x_U007epad-0-1-85-220.png/100x100bb.jpg" alt="" width="46" height="46" loading="lazy" style="border-radius:11px;flex:0 0 auto" /><span style="min-width:0"><strong style="display:block;font-size:14px;line-height:1.35">PhotoCream Pro</strong><span style="display:block;font-size:12px;color:#8a7d6b">Photo & Video · View on the App Store</span></span></a></div><p style="margin:10px 0 0;font-size:12px;color:#8a7d6b">Links open the App Store.</p></section><!-- ls-family:end -->
<footer>
<div class="wrap">
<div class="foot">
<a class="brand" href="index.html"><img class="icon" src="icon.png" alt="PicClear Pro"><span>PicClear Pro</span></a>
<div class="foot-links">
<a href="index.html" data-i18n="footHome">Home</a>
<a href="privacy.html" data-i18n="footPrivacy">Privacy</a>
<a href="support.html" data-i18n="footSupport">Support</a>
<a href="mailto:hourstag.app@gmail.com">hourstag.app@gmail.com</a>
</div>
</div>
<p class="copy" data-i18n="copy">© 2026 Cait518. All rights reserved.</p>
</div>
</footer>
<script>window.PICCLEAR_I18N = {
"en": {
"navFeatures": "Features",
"navPrivacy": "Privacy",
"navSupport": "Support",
"navDownload": "Download",
"footHome": "Home",
"footPrivacy": "Privacy",
"footSupport": "Support",
"copy": "© 2026 Cait518. All rights reserved.",
"switchTo": "Switch language to",
"metaTitle": "Support — PicClear Pro",
"metaDescription": "PicClear Pro support FAQ for on-device scanning, privacy, Full Unlock, restore purchase, deleted photos, favorites protection, and resetting local data.",
"pageTitle": "Support",
"faqLabel": "FAQ",
"heroSub": "Find answers about private scanning, deleting, purchases, and restoring photos. For direct help, email hourstag.app@gmail.com.",
"contactTitle": "Contact",
"contactText": "Email us at hourstag.app@gmail.com. Please include your device model, iOS version, and a short description of the issue.",
"q1": "How does PicClear Pro find duplicates and similar photos?",
"a1": "PicClear Pro uses Apple frameworks, including Vision and PhotoKit, to analyze your library on your device. It groups likely duplicates and similar shots so you can review them yourself.",
"q2": "Are my photos uploaded anywhere?",
"a2": "No. Analysis happens on your iPhone. Photos, videos, thumbnails, and scan results are never uploaded. PicClear Pro has no cloud processing, no account system, no ads, and no tracking.",
"q3": "What does Full Unlock do? Is it a subscription?",
"a3": "Full Unlock is a single one-time, non-subscription In-App Purchase. Downloading, scanning, and previewing are free. Full Unlock enables the actual deleting action. Pay once, owned forever.",
"q4": "I bought Full Unlock on another device. What should I do?",
"a4": "Open PicClear Pro Settings and choose Restore purchase. Make sure you are signed in with the same Apple ID used for the original purchase.",
"q5": "Can I get deleted photos back?",
"a5": "When PicClear Pro deletes items, Apple Photos moves them to Recently Deleted. Open the Photos app and check Recently Deleted to recover items during Apple’s available recovery period.",
"q6": "Will PicClear Pro delete my favorites?",
"a6": "Favorites can be protected, and PicClear Pro does not delete anything automatically. You review items and confirm before anything is moved to Recently Deleted.",
"q7": "How do I delete PicClear Pro data?",
"a7": "In the app, open Settings → Reset all data. This clears local PicClear Pro counts, scan statistics, and settings. It does not delete your photo library.",
"q8": "Which languages does the app support?",
"a8": "PicClear Pro supports English, Traditional Chinese, Japanese, and Korean."
},
"zh-Hant": {
"navFeatures": "功能",
"navPrivacy": "隱私權",
"navSupport": "支援",
"navDownload": "下載",
"footHome": "首頁",
"footPrivacy": "隱私權",
"footSupport": "支援",
"copy": "© 2026 Cait518。保留所有權利。",
"switchTo": "切換語言至",
"metaTitle": "支援 — PicClear Pro",
"metaDescription": "PicClear Pro 支援 FAQ:裝置端掃描、隱私、Full Unlock、恢復購買、找回刪除照片、保護喜好項目與重置本機資料。",
"pageTitle": "支援",
"faqLabel": "常見問題",
"heroSub": "查看私密掃描、刪除、購買與照片復原的常見問題。若需要直接協助,請寄信至 hourstag.app@gmail.com。",
"contactTitle": "聯絡我們",
"contactText": "請寄信至 hourstag.app@gmail.com。建議附上裝置型號、iOS 版本與問題簡述。",
"q1": "PicClear Pro 如何找出重複與相似照片?",
"a1": "PicClear Pro 使用 Apple Vision、PhotoKit 等框架,在你的裝置上分析照片圖庫。它會將可能重複與相似的照片分組,讓你自行檢視。",
"q2": "我的照片會上傳到任何地方嗎?",
"a2": "不會。分析會在你的 iPhone 上完成。照片、影片、縮圖與掃描結果絕不上傳。PicClear Pro 沒有雲端處理、帳號系統、廣告或追蹤。",
"q3": "Full Unlock 是什麼?是訂閱嗎?",
"a3": "Full Unlock 是單一一次性、非訂閱制 App 內購買。下載、掃描與預覽皆免費。Full Unlock 會啟用實際刪除功能。一次付費,永久擁有。",
"q4": "我在另一台裝置購買過 Full Unlock,該怎麼辦?",
"a4": "請開啟 PicClear Pro 的 Settings,選擇 Restore purchase。請確認你使用的是當初購買時的同一個 Apple ID。",
"q5": "刪除的照片可以找回嗎?",
"a5": "PicClear Pro 刪除項目時,Apple「照片」會將它們移到「最近刪除」。請開啟「照片」App,在 Apple 提供的可復原期間內到「最近刪除」找回。",
"q6": "PicClear Pro 會刪除我的喜好項目嗎?",
"a6": "喜好項目可以受到保護,且 PicClear Pro 不會自動刪除任何內容。你會先檢視項目並確認,內容才會移到「最近刪除」。",
"q7": "如何刪除 PicClear Pro 的資料?",
"a7": "在 App 中開啟「Settings → Reset all data」。這會清除 PicClear Pro 的本機計數、掃描統計與設定,不會刪除你的照片圖庫。",
"q8": "App 支援哪些語言?",
"a8": "PicClear Pro 支援英文、繁體中文、日文與韓文。"
},
"ja": {
"navFeatures": "機能",
"navPrivacy": "プライバシー",
"navSupport": "サポート",
"navDownload": "ダウンロード",
"footHome": "ホーム",
"footPrivacy": "プライバシー",
"footSupport": "サポート",
"copy": "© 2026 Cait518。無断転載を禁じます。",
"switchTo": "言語を切り替え:",
"metaTitle": "サポート — PicClear Pro",
"metaDescription": "PicClear Pro サポート FAQ: オンデバイススキャン、プライバシー、Full Unlock、購入の復元、削除した写真、よく使う項目の保護、ローカルデータのリセット。",
"pageTitle": "サポート",
"faqLabel": "よくある質問",
"heroSub": "プライベートスキャン、削除、購入、写真の復元について確認できます。直接のサポートは hourstag.app@gmail.com までご連絡ください。",
"contactTitle": "お問い合わせ",
"contactText": "hourstag.app@gmail.com までメールでご連絡ください。端末モデル、iOS バージョン、問題の簡単な説明を含めていただけると助かります。",
"q1": "PicClear Pro は重複写真や似た写真をどのように見つけますか?",
"a1": "PicClear Pro は Vision や PhotoKit を含む Apple フレームワークを使い、端末上でライブラリを分析します。重複や似た写真の可能性があるものをグループ化し、あなたが確認できるようにします。",
"q2": "写真はどこかにアップロードされますか?",
"a2": "いいえ。分析は iPhone 上で行われます。写真、ビデオ、サムネイル、スキャン結果はアップロードされません。PicClear Pro にはクラウド処理、アカウント、広告、トラッキングはありません。",
"q3": "Full Unlock とは何ですか?サブスクリプションですか?",
"a3": "Full Unlock は一度限りの非サブスクリプション App 内課金です。ダウンロード、スキャン、プレビューは無料です。Full Unlock により実際の削除操作が有効になります。一度支払えばずっと使えます。",
"q4": "別の端末で Full Unlock を購入しました。どうすればよいですか?",
"a4": "PicClear Pro の Settings を開き、Restore purchase を選択してください。元の購入に使った Apple ID でサインインしていることを確認してください。",
"q5": "削除した写真を元に戻せますか?",
"a5": "PicClear Pro が項目を削除すると、Apple 写真はそれらを「最近削除した項目」へ移動します。写真 App の「最近削除した項目」を開き、Apple が提供する復元可能期間内に復元してください。",
"q6": "PicClear Pro はお気に入りを削除しますか?",
"a6": "お気に入りは保護できます。また、PicClear Pro が自動的に削除することはありません。項目を確認し承認してから、「最近削除した項目」へ移動されます。",
"q7": "PicClear Pro のデータを削除するには?",
"a7": "アプリ内で「Settings → Reset all data」を開いてください。PicClear Pro のローカル件数、スキャン統計、設定が消去されます。写真ライブラリは削除されません。",
"q8": "アプリはどの言語に対応していますか?",
"a8": "PicClear Pro は英語、繁体字中国語、日本語、韓国語に対応しています。"
},
"ko": {
"navFeatures": "기능",
"navPrivacy": "개인정보",
"navSupport": "지원",
"navDownload": "다운로드",
"footHome": "홈",
"footPrivacy": "개인정보",
"footSupport": "지원",
"copy": "© 2026 Cait518. 모든 권리 보유.",
"switchTo": "언어 전환:",
"metaTitle": "지원 — PicClear Pro",
"metaDescription": "PicClear Pro 지원 FAQ: 온디바이스 스캔, 개인정보, Full Unlock, 구매 복원, 삭제한 사진, 즐겨찾기 보호, 로컬 데이터 재설정.",
"pageTitle": "지원",
"faqLabel": "자주 묻는 질문",
"heroSub": "비공개 스캔, 삭제, 구입, 사진 복원에 대한 답변을 확인하세요. 직접 도움이 필요하면 hourstag.app@gmail.com 으로 이메일을 보내주세요.",
"contactTitle": "문의",
"contactText": "hourstag.app@gmail.com 으로 이메일을 보내주세요. 기기 모델, iOS 버전, 문제에 대한 짧은 설명을 함께 보내주시면 도움이 됩니다.",
"q1": "PicClear Pro는 중복 사진과 비슷한 사진을 어떻게 찾나요?",
"a1": "PicClear Pro는 Vision, PhotoKit 등 Apple 프레임워크를 사용해 기기에서 사진 보관함을 분석합니다. 중복 또는 비슷한 사진일 가능성이 있는 항목을 묶어 사용자가 직접 검토할 수 있게 합니다.",
"q2": "제 사진이 어디론가 업로드되나요?",
"a2": "아니요. 분석은 iPhone에서 이루어집니다. 사진, 동영상, 썸네일, 스캔 결과는 업로드되지 않습니다. PicClear Pro에는 클라우드 처리, 계정 시스템, 광고, 추적이 없습니다.",
"q3": "Full Unlock은 무엇인가요? 구독인가요?",
"a3": "Full Unlock은 일회성 비구독형 앱 내 구입입니다. 다운로드, 스캔, 미리보기는 무료입니다. Full Unlock은 실제 삭제 기능을 활성화합니다. 한 번 결제하면 영구 소유입니다.",
"q4": "다른 기기에서 Full Unlock을 구입했습니다. 어떻게 해야 하나요?",
"a4": "PicClear Pro Settings를 열고 Restore purchase를 선택하세요. 최초 구입에 사용한 Apple ID로 로그인되어 있는지 확인하세요.",
"q5": "삭제한 사진을 되돌릴 수 있나요?",
"a5": "PicClear Pro가 항목을 삭제하면 Apple 사진 앱은 해당 항목을 “최근 삭제된 항목”으로 이동합니다. 사진 앱에서 최근 삭제된 항목을 열고 Apple에서 제공하는 복구 가능 기간 안에 복구하세요.",
"q6": "PicClear Pro가 즐겨찾기를 삭제하나요?",
"a6": "즐겨찾기는 보호할 수 있으며, PicClear Pro는 아무것도 자동으로 삭제하지 않습니다. 사용자가 항목을 검토하고 확인해야 최근 삭제된 항목으로 이동합니다.",
"q7": "PicClear Pro 데이터를 삭제하려면 어떻게 하나요?",
"a7": "앱에서 “Settings → Reset all data”를 여세요. PicClear Pro의 로컬 개수, 스캔 통계, 설정이 지워집니다. 사진 보관함은 삭제되지 않습니다.",
"q8": "앱은 어떤 언어를 지원하나요?",
"a8": "PicClear Pro는 영어, 번체 중국어, 일본어, 한국어를 지원합니다."
}
};</script>
<script>
(function () {
const supported = ['en', 'zh-Hant', 'ja', 'ko'];
const langNames = { en: 'English', 'zh-Hant': '繁體中文', ja: '日本語', ko: '한국어' };
function detectLang() {
const saved = localStorage.getItem('picclear_lang');
if (supported.includes(saved)) return saved;
const nav = (navigator.language || 'en').toLowerCase();
if (nav.startsWith('zh')) return 'zh-Hant';
if (nav.startsWith('ja')) return 'ja';
if (nav.startsWith('ko')) return 'ko';
return 'en';
}
function applyLang(lang) {
const dict = window.PICCLEAR_I18N[lang] || window.PICCLEAR_I18N.en;
document.documentElement.lang = lang;
document.title = dict.metaTitle;
const meta = document.querySelector('meta[name="description"]');
if (meta) meta.setAttribute('content', dict.metaDescription);
document.querySelectorAll('[data-i18n]').forEach(function (el) {
const value = dict[el.getAttribute('data-i18n')];
if (value !== undefined) el.textContent = value;
});
document.querySelectorAll('[data-i18n-html]').forEach(function (el) {
const value = dict[el.getAttribute('data-i18n-html')];
if (value !== undefined) el.innerHTML = value;
});
document.querySelectorAll('[data-i18n-aria]').forEach(function (el) {
const value = dict[el.getAttribute('data-i18n-aria')];
if (value !== undefined) el.setAttribute('aria-label', value);
});
document.querySelectorAll('[data-lang]').forEach(function (btn) {
const active = btn.getAttribute('data-lang') === lang;
btn.classList.toggle('active', active);
btn.setAttribute('aria-pressed', active ? 'true' : 'false');
btn.setAttribute('aria-label', (dict.switchTo || 'Switch language to') + ' ' + langNames[btn.getAttribute('data-lang')]);
});
}
window.setPicClearLang = function (lang) {
if (!supported.includes(lang)) return;
localStorage.setItem('picclear_lang', lang);
applyLang(lang);
};
document.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll('[data-lang]').forEach(function (btn) {
btn.addEventListener('click', function () { window.setPicClearLang(btn.getAttribute('data-lang')); });
});
applyLang(detectLang());
const reveal = function () {
document.querySelectorAll('.reveal').forEach(function (el) {
if (el.getBoundingClientRect().top < window.innerHeight - 60) el.classList.add('in');
});
};
reveal(); window.addEventListener('scroll', reveal, { passive: true });
});
}());
</script>
</body>
</html>