How to localize (l10n) button of Sign in with Apple JS

Is there official method to localize caption of button generated by "Sign in with Apple JS"?


I figure out the button generated by "Sign in with Apple JS" always has English caption "Sign in with Apple"

https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/configuring_your_webpage_for_sign_in_with_apple


By the way, "Sign in with Apple JS" URL has "en_US".

https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js

change it to "ja_JP", generated localized caption correctly.

https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/ja_JP/appleid.auth.js


But I don't find official way to localize caption of button.

Is it a true way? or another way exists?


I also tried:

- set "lang" attribute in <html> tag

How to localize (l10n) button of Sign in with Apple JS
 
 
Q