feat: implement internationalization support by updating locale files and adding language switch component

This commit is contained in:
2025-06-08 09:25:38 +03:30
parent 2ae57940f0
commit 12775285ec
19 changed files with 148 additions and 333 deletions
-63
View File
@@ -1,63 +0,0 @@
// This file is auto-generated by next-intl, do not edit directly.
// See: https://next-intl.dev/docs/workflows/typescript#messages-arguments
declare const messages: {
"pages_home_title": "Home",
"pages_home_description": "Welcome to the home page",
"pages_about_title": "About Us",
"pages_about_description": "Learn more about us on this page",
"pages_contact_title": "Contact Us",
"pages_product_categories_title": "Products",
"pages_products_title": "Products",
"pages_blog_title": "Blog",
"pages_projects_title": "Projects",
"pages_contact_description": "Get in touch with us through this page",
"com_home_banner_title": "Excellence innovating",
"com_home_banner_title_bold": "industry for today",
"com_home_banner_description": "At the heart of our operations is a commitment to delivering superior products through cutting- <br/> edge technology and innovative processes.",
"com_home_banner_button": " Explore More",
"com_home_Banner_link1": " Advanced Manufacturing Solutions",
"com_home_Banner_link2": "Quality Assurance Systems",
"com_home_Banner_link3": "State-of-the-Art Technology",
"com_about_info_title": "Building quality through",
"com_about_info_title_bold": "industrial innovation",
"com_about_info_description": "At the heart of our operations is a commitment to delivering superior products through cutting-edge technology and innovative processes.",
"com_about_info_years_experience": "years of experience",
"com_about_info_achievements_1": "Sustainable Manufacturing",
"com_about_info_achievements_2": "Advanced Automation",
"com_about_info_achievements_3": "Efficient Production Processes",
"com_about_info_achievements_4": "Reliable Delivery Services",
"com_home_products_title": "The Qualified bricks for Your Projects",
"com_home_products_description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
"footer_title": "Industrial Solutions for a Modern World",
"footer_description": "We are committed to providing personalized industrial solutions that meet the unique needs of our clients. Our team of experts is dedicated to delivering high-quality products and services that drive success in todays competitive market.",
"footer_slogan": "We are committed to providing personalized industrial solutions.",
"footer_links_quick_links": "Quick Links",
"footer_links_who_we_are": "Who We Are",
"footer_links_contact": "Contact",
"footer_copyright": "Copyright © 2025 All Rights Reserved.",
"footer_links_address": "123 Industrial Ave, Suite 456, City, Country",
"com_home_story_title": "Our Story",
"com_home_story_slogan": "Building quality through",
"com_home_story_slogan_bold": "industrial innovation",
"com_home_story_description": "We are a leading provider of industrial solutions, dedicated to delivering high-quality products and services that meet the unique needs of our clients. Our team of experts is committed to driving success in todays competitive market through innovation and excellence.",
"com_home_story_projects_count": "Completed Projects",
"com_home_story_customer_count": "Happy Customers",
"com_home_story_experience": "Years of Experience",
"com_products_category_Ghazaghi_title": "Ghazaghi",
"com_products_category_Ghermez_title": "Ghermez",
"com_products_category_Semirom_title": "Semirom",
"com_products_category_Zard_title": "Zard",
"com_products_category_types_count": "count Types",
"com_products_category_show_all_CTA": "Show Products",
"pages_products_content_title": "Brick Classification: Understanding the Variety and Applications",
"pages_products_content_description": "Bricks, as one of humanity's oldest and most widely used building materials, have evolved significantly throughout history. Today, they are produced and supplied in an incredibly diverse range, allowing engineers and architects to choose the most suitable brick for any project and need, from traditional and historic structures to modern and advanced buildings. To better understand this diversity, we can classify bricks based on several key criteria, each with its own specific characteristics and applications. \n 1. Classification by Manufacturing Method: From Tradition to Advanced IndustryThe method by which bricks are produced directly impacts their appearance, texture, and properties. Hand-moulded/Stock Bricks: These bricks are produced by manually pressing clay into molds. The result is a brick with a relatively rough texture, uneven edges, and a more traditional appearance, where each piece feels unique. This type of brick is often used for restoration projects or for constructing buildings with a rustic or antique style. Machine-made Bricks: These bricks are produced using industrial machinery, resulting in much higher precision in dimensions and uniformity in appearance. Machine-made bricks themselves are divided into two main categories: Perforated/Hollow Bricks: These bricks have holes, offering several advantages: they reduce building weight, improve thermal and acoustic insulation, and enhance mortar adhesion. Solid Bricks: These bricks are without holes and possess very high compressive strength. They are ideal for load-bearing structures and walls requiring maximum strength. 2. Classification by Raw Material Type and Composition: From Clay to Concrete The material from which a brick is made determines its physical and chemical properties.",
"com_products_products_category_title": "Products of {title} Category"
};
export default messages;
+51 -51
View File
@@ -1,59 +1,59 @@
{
"pages_home_title": "Home",
"pages_home_description": "Welcome to the home page",
"pages_about_title": "About Us",
"pages_about_description": "Learn more about us on this page",
"pages_contact_title": "Contact Us",
"pages_product_categories_title": "Products",
"pages_products_title": "Products",
"pages_blog_title": "Blog",
"pages_projects_title": "Projects",
"pages_contact_description": "Get in touch with us through this page",
"com_home_banner_title": "Excellence innovating",
"com_home_banner_title_bold": "industry for today",
"com_home_banner_description": "At the heart of our operations is a commitment to delivering superior products through cutting- <br/> edge technology and innovative processes.",
"com_home_banner_button": " Explore More",
"com_home_Banner_link1": " Advanced Manufacturing Solutions",
"com_home_Banner_link2": "Quality Assurance Systems",
"com_home_Banner_link3": "State-of-the-Art Technology",
"pages_home_title": "خانه",
"pages_home_description": "به صفحه اصلی خوش آمدید",
"pages_about_title": "درباره ما",
"pages_about_description": "در این صفحه بیشتر درباره ما بدانید",
"pages_contact_title": "تماس با ما",
"pages_product_categories_title": "محصولات",
"pages_products_title": "محصولات",
"pages_blog_title": "وبلاگ",
"pages_projects_title": "پروژه‌ها",
"pages_contact_description": "از طریق این صفحه با ما در تماس باشید",
"com_home_banner_title": "نوآوری در تعالی",
"com_home_banner_title_bold": "صنعت برای امروز",
"com_home_banner_description": "در قلب فعالیت‌های ما تعهد به ارائه محصولات برتر از طریق فناوری پیشرفته و فرآیندهای نوآورانه قرار دارد.",
"com_home_banner_button": "بیشتر بدانید",
"com_home_Banner_link1": "راهکارهای پیشرفته تولید",
"com_home_Banner_link2": "سیستم‌های تضمین کیفیت",
"com_home_Banner_link3": "فناوری روز دنیا",
"com_about_info_title": "Building quality through",
"com_about_info_title_bold": "industrial innovation",
"com_about_info_description": "At the heart of our operations is a commitment to delivering superior products through cutting-edge technology and innovative processes.",
"com_about_info_years_experience": "years of experience",
"com_about_info_achievements_1": "Sustainable Manufacturing",
"com_about_info_achievements_2": "Advanced Automation",
"com_about_info_achievements_3": "Efficient Production Processes",
"com_about_info_achievements_4": "Reliable Delivery Services",
"com_about_info_title": "ساخت کیفیت از طریق",
"com_about_info_title_bold": "نوآوری صنعتی",
"com_about_info_description": "در قلب فعالیت‌های ما تعهد به ارائه محصولات برتر از طریق فناوری پیشرفته و فرآیندهای نوآورانه قرار دارد.",
"com_about_info_years_experience": "سال تجربه",
"com_about_info_achievements_1": "تولید پایدار",
"com_about_info_achievements_2": "اتوماسیون پیشرفته",
"com_about_info_achievements_3": "فرآیندهای تولید کارآمد",
"com_about_info_achievements_4": "خدمات تحویل قابل اعتماد",
"com_home_products_title": "The Qualified bricks for Your Projects",
"com_home_products_description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
"com_home_products_title": "آجرهای با کیفیت برای پروژه‌های شما",
"com_home_products_description": "لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است.",
"footer_title": "Industrial Solutions for a Modern World",
"footer_description": "We are committed to providing personalized industrial solutions that meet the unique needs of our clients. Our team of experts is dedicated to delivering high-quality products and services that drive success in todays competitive market.",
"footer_slogan": "We are committed to providing personalized industrial solutions.",
"footer_links_quick_links": "Quick Links",
"footer_links_who_we_are": "Who We Are",
"footer_links_contact": "Contact",
"footer_copyright": "Copyright © 2025 All Rights Reserved.",
"footer_links_address": "123 Industrial Ave, Suite 456, City, Country",
"footer_title": "راهکارهای صنعتی برای دنیای مدرن",
"footer_description": "ما متعهد به ارائه راهکارهای صنعتی شخصی‌سازی شده هستیم که نیازهای منحصر به فرد مشتریانمان را برآورده می‌کند. تیم متخصص ما به ارائه محصولات و خدمات با کیفیت بالا که موفقیت را در بازار رقابتی امروز تضمین می‌کند، متعهد است.",
"footer_slogan": "ما متعهد به ارائه راهکارهای صنعتی شخصی‌سازی شده هستیم.",
"footer_links_quick_links": "لینک‌های سریع",
"footer_links_who_we_are": "ما که هستیم",
"footer_links_contact": "تماس",
"footer_copyright": "کلیه حقوق محفوظ است © ۲۰۲۵",
"footer_links_address": "خیابان صنعتی ۱۲۳، واحد ۴۵۶، شهر، کشور",
"com_home_story_title": "Our Story",
"com_home_story_slogan": "Building quality through",
"com_home_story_slogan_bold": "industrial innovation",
"com_home_story_description": "We are a leading provider of industrial solutions, dedicated to delivering high-quality products and services that meet the unique needs of our clients. Our team of experts is committed to driving success in todays competitive market through innovation and excellence.",
"com_home_story_projects_count": "Completed Projects",
"com_home_story_customer_count": "Happy Customers",
"com_home_story_experience": "Years of Experience",
"com_home_story_title": "داستان ما",
"com_home_story_slogan": "ساخت کیفیت از طریق",
"com_home_story_slogan_bold": "نوآوری صنعتی",
"com_home_story_description": "ما ارائه‌دهنده پیشرو راهکارهای صنعتی هستیم که به ارائه محصولات و خدمات با کیفیت بالا متعهدیم تا نیازهای منحصر به فرد مشتریانمان را برآورده کنیم. تیم متخصص ما با نوآوری و تعالی، موفقیت را در بازار رقابتی امروز تضمین می‌کند.",
"com_home_story_projects_count": "پروژه‌های انجام شده",
"com_home_story_customer_count": "مشتریان راضی",
"com_home_story_experience": "سال تجربه",
"com_products_category_Ghazaghi_title": "Ghazaghi",
"com_products_category_Ghermez_title": "Ghermez",
"com_products_category_Semirom_title": "Semirom",
"com_products_category_Zard_title": "Zard",
"com_products_category_types_count": "count Types",
"com_products_category_show_all_CTA": "Show Products",
"pages_products_content_title": "Brick Classification: Understanding the Variety and Applications",
"pages_products_content_description": "Bricks, as one of humanity's oldest and most widely used building materials, have evolved significantly throughout history. Today, they are produced and supplied in an incredibly diverse range, allowing engineers and architects to choose the most suitable brick for any project and need, from traditional and historic structures to modern and advanced buildings. To better understand this diversity, we can classify bricks based on several key criteria, each with its own specific characteristics and applications. \n 1. Classification by Manufacturing Method: From Tradition to Advanced IndustryThe method by which bricks are produced directly impacts their appearance, texture, and properties. Hand-moulded/Stock Bricks: These bricks are produced by manually pressing clay into molds. The result is a brick with a relatively rough texture, uneven edges, and a more traditional appearance, where each piece feels unique. This type of brick is often used for restoration projects or for constructing buildings with a rustic or antique style. Machine-made Bricks: These bricks are produced using industrial machinery, resulting in much higher precision in dimensions and uniformity in appearance. Machine-made bricks themselves are divided into two main categories: Perforated/Hollow Bricks: These bricks have holes, offering several advantages: they reduce building weight, improve thermal and acoustic insulation, and enhance mortar adhesion. Solid Bricks: These bricks are without holes and possess very high compressive strength. They are ideal for load-bearing structures and walls requiring maximum strength. 2. Classification by Raw Material Type and Composition: From Clay to Concrete The material from which a brick is made determines its physical and chemical properties.",
"com_products_category_Ghazaghi_title": "غذاقی",
"com_products_category_Ghermez_title": "قرمز",
"com_products_category_Semirom_title": "سمیرم",
"com_products_category_Zard_title": "زرد",
"com_products_category_types_count": "تعداد نوع",
"com_products_category_show_all_CTA": "نمایش محصولات",
"pages_products_content_title": "طبقه‌بندی آجر: درک تنوع و کاربردها",
"pages_products_content_description": "آجرها به عنوان یکی از قدیمی‌ترین و پرکاربردترین مصالح ساختمانی بشر، در طول تاریخ دچار تحول زیادی شده‌اند. امروزه این مصالح در طیف بسیار متنوعی تولید و عرضه می‌شوند و به مهندسان و معماران این امکان را می‌دهند تا مناسب‌ترین آجر را برای هر پروژه و نیازی، از سازه‌های سنتی و تاریخی تا ساختمان‌های مدرن و پیشرفته، انتخاب کنند. برای درک بهتر این تنوع، می‌توان آجرها را بر اساس چند معیار کلیدی طبقه‌بندی کرد که هر یک ویژگی‌ها و کاربردهای خاص خود را دارند.\n۱. طبقه‌بندی بر اساس روش تولید: از سنت تا صنعت پیشرفته\nروش تولید آجرها مستقیماً بر ظاهر، بافت و ویژگی‌های آن‌ها تأثیر می‌گذارد.\nآجرهای دستی/قالبی: این آجرها با فشار دادن دستی خاک رس در قالب تولید می‌شوند. نتیجه، آجری با بافت نسبتاً زبر، لبه‌های نامنظم و ظاهری سنتی‌تر است که هر قطعه حس منحصر به فردی دارد. این نوع آجر اغلب برای پروژه‌های مرمت یا ساخت ساختمان‌هایی با سبک روستایی یا قدیمی استفاده می‌شود.\nآجرهای ماشینی: این آجرها با استفاده از ماشین‌آلات صنعتی تولید می‌شوند که دقت ابعادی و یکنواختی ظاهری بسیار بالاتری دارند. آجرهای ماشینی خود به دو دسته اصلی تقسیم می‌شوند:\nآجرهای سوراخ‌دار/توخالی: این آجرها دارای سوراخ‌هایی هستند که چندین مزیت دارند: کاهش وزن ساختمان، بهبود عایق حرارتی و صوتی و افزایش چسبندگی ملات.\nآجرهای توپر: این آجرها بدون سوراخ بوده و مقاومت فشاری بسیار بالایی دارند. آن‌ها برای سازه‌های باربر و دیوارهایی که به حداکثر استحکام نیاز دارند، ایده‌آل هستند.\n۲. طبقه‌بندی بر اساس نوع و ترکیب مواد اولیه: از خاک رس تا بتن\nجنس آجر تعیین‌کننده ویژگی‌های فیزیکی و شیمیایی آن است.",
"com_products_products_category_title": "Products of {title} Category"
"com_products_products_category_title": "محصولات دسته {title}"
}