Skip to content

Instantly share code, notes, and snippets.

@pranaypatel512
Created October 29, 2022 12:37
Show Gist options
  • Save pranaypatel512/56d0f8356cade8418cf412af4619a290 to your computer and use it in GitHub Desktop.
Save pranaypatel512/56d0f8356cade8418cf412af4619a290 to your computer and use it in GitHub Desktop.
DifferentLocaleComposablePreview
@Preview(locale = "fr-rFR")
@Composable
fun DifferentLocaleComposablePreview() {
Text(text = stringResource(R.string.greetings))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment