You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/10 13:37:55 UTC

[GitHub] [cordova-ios] adriansaenz opened a new issue, #1234: Change language app from device settings

adriansaenz opened a new issue, #1234:
URL: https://github.com/apache/cordova-ios/issues/1234

   Hi!
   I'm doing an application using ionic framework and i'm looking for a way to change the app language from device app settings but i don't see any plugin to do it. I'm using the ngx-translate library to manage all translations inside the app but i don't see any connection with device setting.
   Is there any plugin to get if user change the app language from device setting?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] breautek commented on issue #1234: Change language app from device settings

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1234:
URL: https://github.com/apache/cordova-ios/issues/1234#issuecomment-1123991852

   The webview way of doing this is via [languagechange](https://developer.mozilla.org/en-US/docs/Web/API/Window/languagechange_event#browser_compatibility) event on the `Window` object.
   
   But I have no idea if system webviews invokes this correctly. Probably worth testing though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] jcesarmobile closed issue #1234: Change language app from device settings

Posted by GitBox <gi...@apache.org>.
jcesarmobile closed issue #1234: Change language app from device settings
URL: https://github.com/apache/cordova-ios/issues/1234


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] jcesarmobile commented on issue #1234: Change language app from device settings

Posted by GitBox <gi...@apache.org>.
jcesarmobile commented on issue #1234:
URL: https://github.com/apache/cordova-ios/issues/1234#issuecomment-1144286624

   Closing since languagechange event seems to work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-ios] adriansaenz commented on issue #1234: Change language app from device settings

Posted by GitBox <gi...@apache.org>.
adriansaenz commented on issue #1234:
URL: https://github.com/apache/cordova-ios/issues/1234#issuecomment-1125159779

   I was able to test it adding that language change event and it seems that is working. I did not test it deeply but for the moment seems to work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org