Screens / Language
Language
English, Bahasa Indonesia or follow the device (PAN-93), saved on the account.
- App routes
/settings/language- Access
- settings.manage, items.manage, stock.manage, expenses.manage
- Screen code
lib/screens/settings/language_settings_page.dartlib/screens/settings/widgets/language_card.dartlib/screens/settings/widgets/language_sheet.dartlib/core/localisation/language_controller.dart- Source
- elmermj/panly-app @ pre-staging-test (72aaffd)
API calls (1)
| Call | Why the screen makes it | Where in the app code |
|---|---|---|
PATCH /v1/meUpdate my account preferences (preferred language) |
Language card: the chosen language (`language`, or none for follow device) is saved on the account after it is applied and stored on the device. A failure keeps the choice on the device and shows a retry note On the next sign-in the account's language wins when it has one. |
lib/screens/settings/widgets/language_sheet.dart:55lib/core/localisation/language_controller.dart:93lib/data/repositories/language_repository.dart:13 |
Each call links to its operation in the API reference. Code locations are file:line in panly-app at 72aaffd, listed from the screen down to the line that sends the request.