<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohammed Hassan </title>
    <description>The latest articles on DEV Community by Mohammed Hassan  (@matrix2526).</description>
    <link>https://dev.to/matrix2526</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F320685%2F28b69267-4353-4f3a-aecc-b1edab70a75f.jpeg</url>
      <title>DEV Community: Mohammed Hassan </title>
      <link>https://dev.to/matrix2526</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/matrix2526"/>
    <language>en</language>
    <item>
      <title>Manage JSON Translations Easily in VS Code with JSON Translations Manager</title>
      <dc:creator>Mohammed Hassan </dc:creator>
      <pubDate>Mon, 03 Mar 2025 08:51:26 +0000</pubDate>
      <link>https://dev.to/matrix2526/manage-json-translations-easily-in-vs-code-with-json-translations-manager-56g2</link>
      <guid>https://dev.to/matrix2526/manage-json-translations-easily-in-vs-code-with-json-translations-manager-56g2</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;If you work with multi-language applications, managing JSON translation files can be a hassle. You often need to manually add, update, and verify translations across multiple JSON files. To make this process easier, I created the &lt;strong&gt;JSON Translations Manager&lt;/strong&gt; — a simple yet powerful VS Code extension to help you manage translation keys effortlessly.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://marketplace.visualstudio.com/items?itemName=Mohammed.json-translations-manager" rel="noopener noreferrer"&gt;Download JSON Translations Manager&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Features
&lt;/h3&gt;

&lt;h3&gt;
  
  
  1. View All Translations at Once
&lt;/h3&gt;

&lt;p&gt;This extension shows all translation keys and values in a structured tree format, making reviewing missing or incorrect translations easy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Filplc8ft1n035dzsvl8i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Filplc8ft1n035dzsvl8i.png" width="800" height="283"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Edit Translations Quickly
&lt;/h3&gt;

&lt;p&gt;You can directly edit translations within VS Code without switching between multiple files manually.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Add Translations Quickly
&lt;/h3&gt;

&lt;p&gt;You can directly add the translation keys within VS Code, just write JTM in the text editor and all keys will show up as below image&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7pody8hwooyn1la6h0tq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7pody8hwooyn1la6h0tq.png" width="800" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. View translation
&lt;/h3&gt;

&lt;p&gt;You can quickly view translation values within VS Code. Simply select a translation key and hover over it to see the corresponding values in all available languages.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqmsxbllelf2sgatzpffz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqmsxbllelf2sgatzpffz.png" width="682" height="197"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How to Use
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Step 1: Install the Extension
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;  Open VS Code.&lt;/li&gt;
&lt;li&gt;  Go to &lt;strong&gt;Extensions&lt;/strong&gt; (Ctrl+Shift+X or Cmd+Shift+X on Mac).&lt;/li&gt;
&lt;li&gt;  Search for &lt;strong&gt;JSON Translations Manager&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;  Click &lt;strong&gt;Install&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 2: Set Up Your Localization Folder
&lt;/h3&gt;

&lt;p&gt;Before you start using JSON Translation Manager, you need to configure your localization (i18n) folder. Ensure it contains at least one JSON language file, such as en.json or ar.json. The recommended structure is:&lt;/p&gt;

&lt;p&gt;/locales/en.json&lt;br&gt;&lt;br&gt;
/locales/fr.json&lt;br&gt;&lt;br&gt;
/locales/de.json&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 3: Initialize and Use JSON Translations Manager
&lt;/h3&gt;

&lt;p&gt;After setting up your localization folder, you need to initialize the extension to manage translations efficiently.&lt;/p&gt;

&lt;h4&gt;
  
  
  Available Commands
&lt;/h4&gt;

&lt;p&gt;You can access the following commands in VS Code’s Command Palette (&lt;strong&gt;Ctrl+Shift+P&lt;/strong&gt; or &lt;strong&gt;Cmd+Shift+P&lt;/strong&gt; on Mac):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;JTM: Initialize or Update JTM Configuration&lt;/strong&gt; — Set up or refresh the configuration for your translation files.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;JTM: Add Translation&lt;/strong&gt; — Add a new translation key using dot (.) notation for nested objects.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;JTM: Add Translation from Selected Text&lt;/strong&gt; — Convert selected text into a translation key automatically.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once initialized, the extension scans your JSON files and presents them in a structured tree format.&lt;/p&gt;

&lt;h3&gt;
  
  
  JTM: Initialize or update JTM configuration
&lt;/h3&gt;

&lt;p&gt;This command will create or update the &lt;code&gt;jtmConfig.json&lt;/code&gt; file on your project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8hgj3iipdhjglufggzff.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8hgj3iipdhjglufggzff.gif" width="480" height="254"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  JTM: Add translation
&lt;/h3&gt;

&lt;p&gt;This command will create a translation using the key entered and save it on your translation files on the project.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;You can use dot (.) notation to make the key a Nested&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ickgfufxe43w7t6ctir.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ickgfufxe43w7t6ctir.gif" width="480" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  JTM: Add translation from selected text
&lt;/h3&gt;

&lt;p&gt;This command will create a translation from the selected text and save it on your translation files on the project.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;You can use dot (.) notation to make the key a Nested&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fflvc42b2nhja5we00r2h.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fflvc42b2nhja5we00r2h.gif" width="480" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Use JSON Translations Manager?
&lt;/h3&gt;

&lt;p&gt;✅ &lt;strong&gt;Saves Time&lt;/strong&gt; No need to manually check multiple files.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Improves Workflow&lt;/strong&gt; Works directly inside VS Code.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;Open Source&lt;/strong&gt; Free to use and improve.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;Managing translations in JSON files doesn’t have to be difficult. With &lt;strong&gt;JSON Translations Manager&lt;/strong&gt;, you can quickly review, edit, and organize your translations with ease.&lt;/p&gt;

&lt;p&gt;Try it now and improve your localization workflow!&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://marketplace.visualstudio.com/items?itemName=Mohammed.json-translations-manager" rel="noopener noreferrer"&gt;Install JSON Translations Manager&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have feedback or feature suggestions? Share your thoughts or contribute on &lt;a href="https://github.com/MohammedAldosari/json-translations-manager" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>frontend</category>
      <category>backend</category>
      <category>json</category>
    </item>
  </channel>
</rss>
