You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement full Javanese (jv, jv-ID, Basa Jawa) language support across the entire FloCafe application, including the main POS app, KDS, Server App, Customer Display, Setup, Settings, thermal print/KOT labels, WhatsApp plain-text reports, and sample seed data.
Added the Javanese (jv / jv-ID, Basa Jawa) locale to the frontend language registry (frontend/src/lib/i18n/languages.ts) along with the full frontend/src/lib/i18n/messages/jv.json translation catalogue.
Added Javanese backend localization for thermal receipt/KOT/Z-report print labels (main/print/print-labels.generated.ts), startup/shutdown status splash messages (main/status-messages.ts), and localized express and demo setup seed data (main/setup/seed-data.ts).
Extended i18n parity, Unicode NFC, invisible-character, terminology, receipt, and setup test suites and updated documentation to reflect the 26 supported locales.
Risk Assessment
✅ Low: The change is a well-bounded addition of the Javanese (jv / jv-ID) locale following the established language registration, message catalog, print label generation, status message, seed data, documentation, and test patterns without altering core runtime logic.
Testing
Built the backend and static frontend, ran 16 focused i18n, receipt, print-label, setup-seed, status-message, locale-chunk, and WhatsApp report test suites plus the Playwright phase7-setup-print-i18n.spec.ts E2E suite, and drove a live 3-server FloCafe instance (POS/API, KDS, and Server App) in Chromium under jv-ID (Basa Jawa), capturing 9 high-resolution PNG screenshots, persisted SQLite seed state, thermal/KOT label output, and a formatted Javanese WhatsApp Z-report; all scenarios and checks passed.
Live validation: ✅ go - 6 of 6 scenarios driven live against the product
Scenario
Result
Live
Evidence
Operator selects Basa Jawa (jv, jv-ID) in the first-run Setup Wizard and completes Demo profile initialization, persisting language=jv and Javanese sample categories, products (Sego Goreng Jawa, Sate…
Signed-in operator uses the Main POS App, Dashboard, and Settings > Store Details in Javanese (jv-ID, dir=ltr), adding seeded Javanese items to the cart and viewing localized navigation, order-type pi…
Staff places a tableside order from the standalone Server App in Javanese (Kirim menyang pawon) and observes the active order on the standalone KDS (Tampilan Pawon) and paired Customer Display (Lagi d…
WhatsApp plain-text X/Z cash closure reports and Electron startup/shutdown status messages format in Javanese with consistent cash-movement terminology (Lebokake Tunai / Wetokake Tunai) and LTR direct…
✅ pass
live
~/.no-mistakes/evidence/01M6TD3C2FQ1N79KG9T3XS9NYF/12_javanese_whatsapp_z_report.txt, npm run test:cash-closures, npm run test:status-messages
Adversarial translation guard rejects untranslated English-identical strings, [JV]/[TODO] placeholders, non-NFC sequences, invisible formatting characters, and welded order-number placeholders in jv.j…
✅ pass
live
npm run test:translations
Evidence: Persisted Javanese Demo Seed State (SQLite)







Evidence: Javanese Thermal and KOT Print Labels
📊 Laporan Z #7 - Warung Kopi Jogja
📅 Tanggal usaha: 7 Nov 2026 (07-11-2026, 07:00 - 07-11-2026, 22:00)
👤 Ditutup dening: Raden Wijaya
💰 Ringkesan Dodolan
• Pemasukan Kotor: Rp 1.250.000
• Balekake Dhuwit: Rp 50.000
• Pemasukan Resik: Rp 1.200.000
• 18 tagihan
💳 Rincian Pambayaran
• Tunai: Rp 850.000 (12)
• Kertu: Rp 350.000 (6)
💵 Rekonsiliasi Laci Kas
• Kas wiwitan: Rp 200.000
• Kas sing dikarepake: Rp 975.000
• Kas sing diitung: Rp 975.000
• Bedane: Rp 0 (✅ Pas)
📝 Cathetan Panutupan: Laci kas wis diitung ping pindho
📊 *Laporan Z #7 - Warung Kopi Jogja*
📅 *Tanggal usaha:* 7 Nov 2026 (07-11-2026, 07:00 - 07-11-2026, 22:00)
👤 *Ditutup dening:* Raden Wijaya
💰 *Ringkesan Dodolan*
• Pemasukan Kotor: Rp 1.250.000
• Balekake Dhuwit: Rp 50.000
• Pemasukan Resik: Rp 1.200.000
• 18 tagihan
💳 *Rincian Pambayaran*
• Tunai: Rp 850.000 (12)
• Kertu: Rp 350.000 (6)
💵 *Rekonsiliasi Laci Kas*
• Kas wiwitan: Rp 200.000
• Kas sing dikarepake: Rp 975.000
• Kas sing diitung: Rp 975.000
• Bedane: Rp 0 (✅ Pas)
📝 *Cathetan Panutupan:* Laci kas wis diitung ping pindho
Live validation: ✅ go - 6 of 6 scenarios driven live against the product
Scenario
Result
Live
Evidence
Operator selects Basa Jawa (jv, jv-ID) in the first-run Setup Wizard and completes Demo profile initialization, persisting language=jv and Javanese sample categories, products (Sego Goreng Jawa, Sate…
Signed-in operator uses the Main POS App, Dashboard, and Settings > Store Details in Javanese (jv-ID, dir=ltr), adding seeded Javanese items to the cart and viewing localized navigation, order-type pi…
Staff places a tableside order from the standalone Server App in Javanese (Kirim menyang pawon) and observes the active order on the standalone KDS (Tampilan Pawon) and paired Customer Display (Lagi d…
WhatsApp plain-text X/Z cash closure reports and Electron startup/shutdown status messages format in Javanese with consistent cash-movement terminology (Lebokake Tunai / Wetokake Tunai) and LTR direct…
✅ pass
live
~/.no-mistakes/evidence/01M6TD3C2FQ1N79KG9T3XS9NYF/12_javanese_whatsapp_z_report.txt, npm run test:cash-closures, npm run test:status-messages
Adversarial translation guard rejects untranslated English-identical strings, [JV]/[TODO] placeholders, non-NFC sequences, invisible formatting characters, and welded order-number placeholders in jv.j…
✅ pass
live
npm run test:translations
npm run test:translations
npm run test:print-labels
npm run test:status-messages
npm run test:phase7-setup-i18n
npm run test:cash-closures
npm run test:rtl-setup-auth-settings
npm run test:rtl-dashboard-pos-common
npm run test:rtl-kds-server-whatsapp
npm run test:i18n-audit-remediations
npm run test:browser-receipts
npm run test:decoupled-ui-locale
npm run test:locale-chunks
npm run test:phase6-locale-loading
npm run test:kot-locale-cold-start
npm run test:auth-print-bootstrap-race
npm run test:issue-241-localized-errors
npm run build && npm run build:frontend
cd frontend && npx playwright test e2e/phase7-setup-print-i18n.spec.ts --config=playwright.config.ts --project=chromium
Live end-to-end Playwright browser run across Main Server (:3101), Standalone KDS (:3102), and Standalone Server App (:3103) driving first-run Javanese Setup Wizard, Demo seed persistence, POS cart, Settings, Print-Test, Server App tableside order submission, KDS ticket display, paired Customer Display, Dashboard, rendered 80mm browser receipt, and WhatsApp Z-Report plain-text output
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
• Add selectable Javanese translations across FloCafe’s POS, companion screens, setup, and settings.
• Localize print labels, status messages, and sample data for Javanese-language operation.
• Extend locale validation and update documentation for 26 supported languages.
Diagram
graph TD
S["Language choice"] --> R["Locale registry"] --> C["Javanese catalog"] --> U["App screens"]
C --> G["Label generator"] --> P["Print labels"]
S --> D["Setup seed data"]
S --> M["Status messages"]
Loading
High-Level Assessment
Follow the PR’s established locale-registration and catalogue approach. Reusing the existing print-label generator and language-specific seed patterns preserves the current translation source of truth; a separate localization mechanism would add unnecessary divergence.
Files changed (23) +4383 / -123
Enhancement (5) +3971 / -95
languages.tsRegister selectable jv-ID locale+7/-0
Register selectable jv-ID locale
• Adds Basa Jawa as a selectable left-to-right language with a lazy-loaded message catalogue.
jv.jsonProvide the Javanese message catalogue+3601/-0
Provide the Javanese message catalogue
• Adds translations for application screens, receipts, kitchen workflows, reports, settings, setup, and WhatsApp, including ICU messages and placeholders.
• Adds an intentional-English-identical allowlist and rejects untranslated placeholders, non-NFC text, replacement characters, and invisible characters. Pins terminology, order-number formatting, and machine-readable CSV field names with negative validator tests.
FloCafe's README.md now advertises 26 UI languages with Javanese added, but flopos.com's Features
page still says “25 Languages & Full RTL.” Once Javanese ships, visitors to that page will see an
outdated capability count until the website heading is updated.
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
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.
Intent
Implement full Javanese (
jv,jv-ID,Basa Jawa) language support across the entire FloCafe application, including the main POS app, KDS, Server App, Customer Display, Setup, Settings, thermal print/KOT labels, WhatsApp plain-text reports, and sample seed data.Fixes #1479
What Changed
jv/jv-ID,Basa Jawa) locale to the frontend language registry (frontend/src/lib/i18n/languages.ts) along with the fullfrontend/src/lib/i18n/messages/jv.jsontranslation catalogue.main/print/print-labels.generated.ts), startup/shutdown status splash messages (main/status-messages.ts), and localized express and demo setup seed data (main/setup/seed-data.ts).Risk Assessment
✅ Low: The change is a well-bounded addition of the Javanese (jv / jv-ID) locale following the established language registration, message catalog, print label generation, status message, seed data, documentation, and test patterns without altering core runtime logic.
Testing
Built the backend and static frontend, ran 16 focused i18n, receipt, print-label, setup-seed, status-message, locale-chunk, and WhatsApp report test suites plus the Playwright
phase7-setup-print-i18n.spec.tsE2E suite, and drove a live 3-server FloCafe instance (POS/API, KDS, and Server App) in Chromium underjv-ID(Basa Jawa), capturing 9 high-resolution PNG screenshots, persisted SQLite seed state, thermal/KOT label output, and a formatted Javanese WhatsApp Z-report; all scenarios and checks passed.Evidence: Persisted Javanese Demo Seed State (SQLite)
Evidence: Javanese Thermal and KOT Print Labels
Evidence: Javanese WhatsApp Z-Report Plain-Text Output
📊 Laporan Z #7 - Warung Kopi Jogja 📅 Tanggal usaha: 7 Nov 2026 (07-11-2026, 07:00 - 07-11-2026, 22:00) 👤 Ditutup dening: Raden Wijaya 💰 Ringkesan Dodolan • Pemasukan Kotor: Rp 1.250.000 • Balekake Dhuwit: Rp 50.000 • Pemasukan Resik: Rp 1.200.000 • 18 tagihan 💳 Rincian Pambayaran • Tunai: Rp 850.000 (12) • Kertu: Rp 350.000 (6) 💵 Rekonsiliasi Laci Kas • Kas wiwitan: Rp 200.000 • Kas sing dikarepake: Rp 975.000 • Kas sing diitung: Rp 975.000 • Bedane: Rp 0 (✅ Pas) 📝 Cathetan Panutupan: Laci kas wis diitung ping pindhoPipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
npm run test:translationsnpm run test:print-labelsnpm run test:status-messagesnpm run test:phase7-setup-i18nnpm run test:cash-closuresnpm run test:rtl-setup-auth-settingsnpm run test:rtl-dashboard-pos-commonnpm run test:rtl-kds-server-whatsappnpm run test:i18n-audit-remediationsnpm run test:browser-receiptsnpm run test:decoupled-ui-localenpm run test:locale-chunksnpm run test:phase6-locale-loadingnpm run test:kot-locale-cold-startnpm run test:auth-print-bootstrap-racenpm run test:issue-241-localized-errorsnpm run build && npm run build:frontendcd frontend && npx playwright test e2e/phase7-setup-print-i18n.spec.ts --config=playwright.config.ts --project=chromiumLive end-to-end Playwright browser run across Main Server (:3101), Standalone KDS (:3102), and Standalone Server App (:3103) driving first-run Javanese Setup Wizard, Demo seed persistence, POS cart, Settings, Print-Test, Server App tableside order submission, KDS ticket display, paired Customer Display, Dashboard, rendered 80mm browser receipt, and WhatsApp Z-Report plain-text output✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.