Skip to content

Add i18n support with Russian locale#2

Open
Nikitamce wants to merge 1 commit into
dozy-programmer:mainfrom
Nikitamce:main
Open

Add i18n support with Russian locale#2
Nikitamce wants to merge 1 commit into
dozy-programmer:mainfrom
Nikitamce:main

Conversation

@Nikitamce

Copy link
Copy Markdown

Extract hardcoded UI strings from layouts into values/strings.xml and wire layouts to @string resources so the app can load locale-specific text. Add values-ru/strings.xml with a full Russian translation of settings, folders, notes, dialogs, and shortcuts.

Localize major runtime messages and menus in Java (toasts, selection actions, note menu, backup/restore feedback, lock screen) via getString(R.string.*), and update menu click handlers to compare localized titles so Russian UI does not break actions.

Default English remains in values/ for non-Russian devices; Russian loads automatically when the system language is Russian.

Extract hardcoded UI strings from layouts into values/strings.xml and
wire layouts to @string resources so the app can load locale-specific
text. Add values-ru/strings.xml with a full Russian translation of
settings, folders, notes, dialogs, and shortcuts.

Localize major runtime messages and menus in Java (toasts, selection
actions, note menu, backup/restore feedback, lock screen) via
getString(R.string.*), and update menu click handlers to compare
localized titles so Russian UI does not break actions.

Default English remains in values/ for non-Russian devices; Russian
loads automatically when the system language is Russian.
@dozy-programmer

Copy link
Copy Markdown
Owner

Thanks for taking the time to do this. I will do some testing to verify that there are no regressions and push in the next update. I will keep you posted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants