Skip to content

feat(TextBase): localized text transform#11302

Open
CatchABus wants to merge 4 commits into
NativeScript:mainfrom
CatchABus:fix/localized-text-transform
Open

feat(TextBase): localized text transform#11302
CatchABus wants to merge 4 commits into
NativeScript:mainfrom
CatchABus:fix/localized-text-transform

Conversation

@CatchABus

@CatchABus CatchABus commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

Right now, CSS text-transform property does not respect locale.
This results in incorrect text casing for languages other than English.

What is the new behavior?

CSS text-transform property will respect current locale (can be changed using native apis).
This PR also contains a new and accurate capitalization function to ensure capitalize is identical in both platforms (inspired by Apache WordUtils.capitalize).

Users can also use @nativescript/localize or @nativescript-community/l plugins to switch locale to one of their own and text-transform will respect that.
For @nativescript/localize, use overrideLocale and androidLaunchEventLocalizationHandler functions.
For @nativescript-community/l, use overrideNativeLocale function.

@nx-cloud

nx-cloud Bot commented Jul 4, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit ccf2cf7

Command Status Duration Result
nx test apps-automated -c=android ✅ Succeeded 3m 45s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded 3s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-07-04 15:02:51 UTC

@CatchABus CatchABus requested a review from NathanWalker July 4, 2026 13:50
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.

1 participant