<?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: Rashmit Mhatre</title>
    <description>The latest articles on DEV Community by Rashmit Mhatre (@rashmit_mhatre_40c3a37e37).</description>
    <link>https://dev.to/rashmit_mhatre_40c3a37e37</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%2F2162268%2F75cc7adb-7f4a-4e0f-8ab9-cfe4a85a6342.jpg</url>
      <title>DEV Community: Rashmit Mhatre</title>
      <link>https://dev.to/rashmit_mhatre_40c3a37e37</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rashmit_mhatre_40c3a37e37"/>
    <language>en</language>
    <item>
      <title>Creating a Dream Recorder using React, Vite, and Tolgee 😀🐁</title>
      <dc:creator>Rashmit Mhatre</dc:creator>
      <pubDate>Thu, 31 Oct 2024 17:00:37 +0000</pubDate>
      <link>https://dev.to/rashmit_mhatre_40c3a37e37/creating-a-dream-recorder-using-react-vite-and-tolgee-12ap</link>
      <guid>https://dev.to/rashmit_mhatre_40c3a37e37/creating-a-dream-recorder-using-react-vite-and-tolgee-12ap</guid>
      <description>&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%2F3fvaqysvk31hsv5awbdu.jpg" 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%2F3fvaqysvk31hsv5awbdu.jpg" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;br&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%2Fyxxw16z6m90mk9n1ksui.jpg" 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%2Fyxxw16z6m90mk9n1ksui.jpg" alt="Image description" width="800" height="332"&gt;&lt;/a&gt;&lt;br&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%2F9qd3hl9y0wwon58wkgyy.jpg" 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%2F9qd3hl9y0wwon58wkgyy.jpg" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;developers, we often seek to create applications that enhance our daily lives. Today, I'm excited to share my experience building a simple workout application using React, Vite, and Tolgee for localization. This app not only generates random workouts but also supports multiple languages, making it accessible to a wider audience.&lt;/p&gt;

&lt;p&gt;Here’s a refined and more engaging version of your blog, with additional details about Tolgee and the workout app features.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Use Tolgee for Your Workout App?
&lt;/h2&gt;

&lt;p&gt;Tolgee is a powerful, open-source tool that simplifies internationalization (i18n) in web applications. Instead of getting bogged down by the complexity of managing translations, developers can focus on crafting an engaging user experience. With Tolgee, adding new languages to your application becomes smooth and scalable. For this workout app, Tolgee enables easy translation of workout descriptions, making it accessible for users around the world.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Setting Up the Project with Vite
&lt;/h3&gt;

&lt;p&gt;To kick off this project, I created a new React application using Vite, known for its fast hot module replacement and streamlined development process. With Vite’s excellent support for modern JavaScript, setup was quick, enabling me to focus on building the app’s features.&lt;/p&gt;

&lt;h3&gt;
  
  
  Adding Tolgee
&lt;/h3&gt;

&lt;p&gt;Next, I installed Tolgee and other essential dependencies to get the i18n setup running. Tolgee's integration was simple—no complex configurations, just straightforward code! Tolgee Cloud provides a user-friendly dashboard to manage translations, making it ideal for dynamic multilingual apps.&lt;/p&gt;

&lt;h3&gt;
  
  
  Initializing Tolgee
&lt;/h3&gt;

&lt;p&gt;I initialized Tolgee with my project configurations, including the API URL and API key. Connecting our app to Tolgee Cloud makes it easy to add or edit translations over time, ensuring that all workout descriptions are consistent and accessible in multiple languages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building the Workout Component
&lt;/h2&gt;

&lt;p&gt;The core of our application revolves around the &lt;em&gt;WorkoutComponent&lt;/em&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Setting Up Workout Data
&lt;/h3&gt;

&lt;p&gt;I created an array of workout objects, each including a name, description, and image. This setup keeps the data structured, enabling easy management and future expansion of the workout library.&lt;/p&gt;

&lt;h3&gt;
  
  
  Adding the Random Workout Feature
&lt;/h3&gt;

&lt;p&gt;To keep things fun and engaging, I implemented a &lt;em&gt;Random Workout Generator&lt;/em&gt;. With just a click, users can discover a new workout, bringing an element of surprise and encouraging them to try different exercises.&lt;/p&gt;

&lt;h3&gt;
  
  
  Designing the User Interface
&lt;/h3&gt;

&lt;p&gt;I aimed for a clean, intuitive UI with a welcoming title, an action button to generate a workout, and a display area showing the selected workout with its image. To improve accessibility, I added a &lt;em&gt;Language Selector&lt;/em&gt; powered by Tolgee, letting users choose their preferred language for the workout descriptions with ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running the Application
&lt;/h2&gt;

&lt;p&gt;Once everything was configured, I launched the app using Vite’s development server. With hot module replacement, testing changes in real time was seamless, making the development experience incredibly smooth.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Building this workout app with React, Vite, and Tolgee has been rewarding. Not only did I strengthen my skills in app development, but I also created a tool that can help motivate users to stay active and fit—across languages and borders!&lt;/p&gt;

&lt;p&gt;Feel free to check out the project on GitHub. I’d love to hear your thoughts, so don’t hesitate to leave feedback or suggestions in the comments!&lt;/p&gt;

&lt;p&gt;Happy coding, and stay fit!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>react</category>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>Building a Fun Workout App with React, Vite, and Tolgee</title>
      <dc:creator>Rashmit Mhatre</dc:creator>
      <pubDate>Thu, 10 Oct 2024 18:43:02 +0000</pubDate>
      <link>https://dev.to/rashmit_mhatre_40c3a37e37/building-a-fun-workout-app-with-react-vite-and-tolgee-dlb</link>
      <guid>https://dev.to/rashmit_mhatre_40c3a37e37/building-a-fun-workout-app-with-react-vite-and-tolgee-dlb</guid>
      <description>&lt;p&gt;&lt;a href="https://media.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%2Fmnf96xg1ewi4ktyeqen8.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fmnf96xg1ewi4ktyeqen8.jpg" alt="Image description" width="800" height="409"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.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%2F3douo69m04qf0z22nfuu.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F3douo69m04qf0z22nfuu.jpg" alt="Image description" width="800" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As developers, we often seek to create applications that enhance our daily lives. Today, I'm excited to share my experience building a simple workout application using React, Vite, and Tolgee for localization. This app not only generates random workouts but also supports multiple languages, making it accessible to a wider audience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Use Tolgee?
&lt;/h2&gt;

&lt;p&gt;Tolgee is an open-source tool designed for internationalization (i18n) in web applications. It simplifies the management of translations, allowing developers to focus on creating a great user experience rather than getting bogged down by the intricacies of localization. By integrating Tolgee, we can easily translate our workout descriptions into different languages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Setting Up the Project
&lt;/h3&gt;

&lt;p&gt;To kick things off, I created a new React project using Vite, which provides an exceptional development experience with fast hot module replacement. After setting up the project, I added the necessary dependencies, including Tolgee.&lt;/p&gt;

&lt;h3&gt;
  
  
  Initializing Tolgee
&lt;/h3&gt;

&lt;p&gt;In the application, I initialized Tolgee with the required configurations, including the API URL and API key. This step is crucial as it allows us to connect our app to the Tolgee Cloud for translations.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating the Workout Component
&lt;/h2&gt;

&lt;p&gt;The core of the application is the WorkoutComponent.&lt;/p&gt;

&lt;h3&gt;
  
  
  Defining Workout Data
&lt;/h3&gt;

&lt;p&gt;I defined an array of workout objects, each containing a name, description, and image. This structured approach makes it easy to manage and display workouts within the app.&lt;/p&gt;

&lt;h3&gt;
  
  
  Generating a Random Workout
&lt;/h3&gt;

&lt;p&gt;To engage users, I implemented a feature that generates a random workout when they click a button. This functionality adds an element of surprise and encourages users to try different workouts.&lt;/p&gt;

&lt;h3&gt;
  
  
  Building the User Interface
&lt;/h3&gt;

&lt;p&gt;The user interface is designed to be clean and intuitive. It includes a welcoming title, a button to generate workouts, and displays the selected workout along with its image. To enhance accessibility, I also integrated a language selector, allowing users to choose their preferred language for workout descriptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running the Application
&lt;/h2&gt;

&lt;p&gt;Once everything was set up, running the application was straightforward. By using Vite’s development server, I could easily view and interact with the app in my browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Creating a workout application with React, Vite, and Tolgee has been an enriching experience. Not only did I improve my development skills, but I also built a tool that could inspire users to stay active and fit.&lt;/p&gt;

&lt;p&gt;Feel free to explore the project on GitHub and contribute or give it a try! If you have any questions or suggestions, I’d love to hear them in the comments below.&lt;/p&gt;

&lt;p&gt;Happy coding, and stay fit!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>react</category>
      <category>hacktoberfest</category>
    </item>
  </channel>
</rss>
