Ko'p tilli qilish uchun configuration qilindi#15
Merged
orzklv merged 9 commits intofloss-uz:mainfrom Feb 15, 2026
Merged
Conversation
Member
|
@elwn-comm nix build error berayabdi. package-lock.json yangilash unutmang. yangilagach |
Contributor
Author
|
@orzklv nix buildni to'g'irlab qo'ydim, bir ko'ringchi |
Member
|
Code review hammasi joyida, hozir build qilib bir natijani ko'ray. |
Member
|
Yoqdi, ma'qul. Faqat switcher bilan contentlarni tarjimasini o'ylash kerak ekan. @bahrom04 yordam qivorasizlarmi? |
Contributor
Author
|
Ha, content boyicha bugun ishlayman, switcherni bog'lanish tugmasi oldiga qo'ymoqchiman dropdown qilib |
Member
Ma'qul 🫱🏻🫲🏿. |
Member
Member
Member
|
nima boʻldi? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Ko'p tillar moslab config yozildi lekin yangi til qo'shish uchun .json fayl va routing.ts fayllari yaratilishi va o'zgartirilishi zarur.
Qilingan ish: Shunchaki config yozildi, keyingi o'zgartirishlarda home page va navigation to'liq ingliz va o'zbek tiliga o'tkaziladi.
app/layout.tsx app/[locale]/layout.tsx ga o'lib o'tildi.
messages jildi yaratilindi va unga uz.json va en.json fayllari ochildi va ikkalasi ham bog'lanish tugmasi uchungina tarjima saqlaydi.
src/i18n jildida tarjima uchun kerakli configlar mavjud va faqatgina i18n jildidan tashqari next.config.mjs ham o'z ichida config saqlaydi.
src/middleware.ts bu i18n api va kerakli assetlarga qo'shilib ketishi oldini olish uchun qo'shildi.