Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Localize not change #3686

Open
Atotaro98 opened this issue Apr 17, 2024 · 4 comments
Open

[Feature]: Localize not change #3686

Atotaro98 opened this issue Apr 17, 2024 · 4 comments

Comments

@Atotaro98
Copy link

Atotaro98 commented Apr 17, 2024

Version

v6 (Beta)

What platforms are you having the problem on?

iOS

Architecture

Old architecture

What happened?

When I put accessibilityLanguage="es-ES" the accessibility is still speaking in English

Reproduction

repository link

Reproduction

<Video
accessibilityLanguage="es-ES"
controls
ignoreSilentSwitch={IgnoreSilentSwitchType.IGNORE}
key={urlLive}
muted={!isFocus}
onError={e => {
console.error('Error en el video', e);
setIsError(true);
}}
onFullscreenPlayerDidDismiss={() => {
Orientation.lockToPortrait();
videoRef.current?.dismissFullscreenPlayer();
}}
onFullscreenPlayerDidPresent={() => {
Orientation.unlockAllOrientations();
}}
onFullscreenPlayerWillDismiss={() => {
Orientation.lockToPortrait();
videoRef.current?.dismissFullscreenPlayer();
}}
onLoad={() => {
setIsLoading(false);
setIsError(false);
}}
onLoadStart={() => {
setIsLoading(true);
}}
pictureInPicture={false}
playInBackground={false}
ref={videoRef}
resizeMode={ResizeMode.CONTAIN}
source={{
headers: {
Authorization: Authorization(
REACT_APP_API_USER,
REACT_APP_API_PASSWORD,
),
'User-Agent': userAgent,
},
uri: urlLive,
}}
style={{ width: '100%', aspectRatio: 16 / 9 }}
/>

@Atotaro98 Atotaro98 added the bug label Apr 17, 2024
@freeboub
Copy link
Collaborator

You should use selectedAudioTrack ?

@Atotaro98
Copy link
Author

Atotaro98 commented Apr 17, 2024

You should use selectedAudioTrack ?

I talk about this.
image

I had to put the following in XCODE but it only uses the default one, I have no way to change the accessibility language
image

And according to react-native placing this is changed, but it is not happening.
image

@freeboub
Copy link
Collaborator

I think this is not supported, please have a look to Video.tsx, it should be something easy to patch (or to implement) !

@freeboub
Copy link
Collaborator

addtional clue with this recent PR: https://github.com/react-native-video/react-native-video/pull/3434/files

@KrzysztofMoch KrzysztofMoch changed the title [BUG]: Localize not change [Feature]: Localize not change Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants