react-native-macos/Libraries/Text
Diego Pasquali 7b05b091fd Integrated iOS-only `accessibilityLanguage` prop (#33090)
Summary:
This PR fixes https://github.com/facebook/react-native/issues/30891

This PR is going to add an `accessibilityLanguage` prop to all the available components. This props is currently working only on iOS and should follow the [guidelines of the relative configuration](https://developer.apple.com/documentation/objectivec/nsobject/1615192-accessibilitylanguage).

I'm in no way an expert on native programming (especially Objective-C) so I'm open to changes / improvements 🙂

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[iOS] [Added] - Integrated the `accessibilityLanguage` prop to all the available components. The prop is available for any platform but it will work only on iOS.

Pull Request resolved: https://github.com/facebook/react-native/pull/33090

Test Plan:
This has been tested using both the Simulator, checking for the `Language` attribute, and using a physical device with the Voice Over enabled.

<img width="1083" alt="Screenshot 2022-02-11 at 13 17 32" src="https://user-images.githubusercontent.com/5963683/153590415-65fcb4ff-8f31-4a0f-90e5-8eb1aae6aa3d.png">

Reviewed By: philIip

Differential Revision: D34523608

Pulled By: rh389

fbshipit-source-id: b5d77fc0b3d76ea8ed8f30c8385459ba98122ff6
2022-03-07 09:43:30 -08:00
..
BaseText Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RawText Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Text Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
TextInput Fix a broken input for the Korean alphabet in TextInput (#32523) 2022-02-09 22:06:55 -08:00
VirtualText Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTConvert+Text.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTConvert+Text.m Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTTextAttributes.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTTextAttributes.m Fix capitalize Text style on IOS (#32774) 2022-01-25 09:08:18 -08:00
RCTTextTransform.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
React-RCTText.podspec Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Text.js Text Component does not announce disabled and disables click functionality when disabled (#33076) 2022-02-15 11:23:11 -08:00
TextAncestor.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
TextNativeComponent.js Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
TextProps.js Integrated iOS-only `accessibilityLanguage` prop (#33090) 2022-03-07 09:43:30 -08:00