diff --git a/_locales/locales-support.html b/_locales/locales-support.html new file mode 100644 index 00000000..b494a53b --- /dev/null +++ b/_locales/locales-support.html @@ -0,0 +1,587 @@ + + + + + + + Locale Diff Tool + + + + + +
+

How to Use the Locale Diff Tool

+
    +
  1. Compare Translations: +
      +
    • Select your language from the dropdown menu
    • +
    • Click "Compare" to see differences with the English base version
    • +
    • The tool will show both versions side by side
    • +
    • Missing translations will be highlighted
    • +
    +
  2. +
  3. Convert Text to JSON: +
      +
    • Use the converter box at the bottom of the page
    • +
    • Paste your text in the format: key: "value"
    • +
    • Click "Convert to JSON" to get the proper messages.json format
    • +
    +
  4. +
  5. Tips: +
      +
    • Use the dark/light mode toggle (β˜€οΈ/πŸŒ™) for better visibility
    • +
    • The comparison will show missing or different translations
    • +
    • Copy the converted JSON output to your messages.json file
    • +
    +
  6. +
+
+ +

Locale Diff Tool

+
+ + + +
+ +
+
+

English (Base)

+ +
+
+

Selected Language

+ +
+
+ +
+ +
+

Text to JSON Converter

+ + + +
+ + + + + \ No newline at end of file diff --git a/_locales/locales-support/index.html b/_locales/locales-support/index.html deleted file mode 100644 index 3b7cdb80..00000000 --- a/_locales/locales-support/index.html +++ /dev/null @@ -1,587 +0,0 @@ - - - - - - - Locale Diff Tool - - - - - -
-

How to Use the Locale Diff Tool

-
    -
  1. Compare Translations: -
      -
    • Select your language from the dropdown menu
    • -
    • Click "Compare" to see differences with the English base version
    • -
    • The tool will show both versions side by side
    • -
    • Missing translations will be highlighted
    • -
    -
  2. -
  3. Convert Text to JSON: -
      -
    • Use the converter box at the bottom of the page
    • -
    • Paste your text in the format: key: "value"
    • -
    • Click "Convert to JSON" to get the proper messages.json format
    • -
    -
  4. -
  5. Tips: -
      -
    • Use the dark/light mode toggle (β˜€οΈ/πŸŒ™) for better visibility
    • -
    • The comparison will show missing or different translations
    • -
    • Copy the converted JSON output to your messages.json file
    • -
    -
  6. -
-
- -

Locale Diff Tool

-
- - - -
- -
-
-

English (Base)

- -
-
-

Selected Language

- -
-
- -
- -
-

Text to JSON Converter

- - - -
- - - - - \ No newline at end of file diff --git a/_locales/readme.md b/_locales/readme.md index 9dff5d17..85fbfd7e 100644 --- a/_locales/readme.md +++ b/_locales/readme.md @@ -24,9 +24,9 @@ Then open newly pasted folder and open ``messages.json`` in it. You'll now see ` ### Translation Support Tools -We provide a helpful tool in the `locales-support` directory to assist with translations: +We provide a helpful tool in the `./_locales` directory to assist with translations: -#### Locale Diff Tool (locales-support/index.html) +#### Locale Diff Tool (./locales-support.html) This tool helps you: - Compare your translation with the English base version side by side - Identify missing translations @@ -42,4 +42,4 @@ When you're finished you can send me your ``messages.json file``: You can also include your Twitter profile to get credited. -Thank you! +Thank you! \ No newline at end of file