{"id":151,"date":"2014-12-12T11:06:31","date_gmt":"2014-12-12T10:06:31","guid":{"rendered":"http:\/\/blog.calj.net\/en\/?p=151"},"modified":"2014-12-14T09:30:22","modified_gmt":"2014-12-14T08:30:22","slug":"localizing-calj","status":"publish","type":"post","link":"https:\/\/blog.calj.net\/en\/localizing-calj\/","title":{"rendered":"Localizing CalJ"},"content":{"rendered":"<div style=\"text-align: right;\"><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fblog.calj.net%2Fen%2Fwp-json%2Fwp%2Fv2%2Fposts%2F151&#038;t=Localizing%20CalJ&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fblog.calj.net%2Fen%2Fwp-json%2Fwp%2Fv2%2Fposts%2F151&#038;p&#091;images&#093;&#091;0&#093;=https%3A%2F%2Fblog.calj.net%2Fen%2Fwp-content%2Fuploads%2F2014%2F12%2FHello-MOGI-skola-stranih-jezika-Beograd-e1418378750688.jpg&#038;p&#091;title&#093;=Localizing%20CalJ\" style=\"font-size: 0px;width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline;width:16px;height:16px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.calj.net\/en\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"https:\/\/twitter.com\/intent\/tweet?text=Localizing%20CalJ&#038;url=https%3A%2F%2Fblog.calj.net%2Fen%2Fwp-json%2Fwp%2Fv2%2Fposts%2F151&#038;via=calj_net\" style=\"font-size: 0px;width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline;width:16px;height:16px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.calj.net\/en\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fblog.calj.net%2Fen%2Fwp-json%2Fwp%2Fv2%2Fposts%2F151&#038;title=Localizing%20CalJ\" style=\"font-size: 0px;width:16px;height:16px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline;width:16px;height:16px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.calj.net\/en\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-16 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=Localizing%20CalJ&#038;body=Hey%20check%20this%20out:%20https%3A%2F%2Fblog.calj.net%2Fen%2Fwp-json%2Fwp%2Fv2%2Fposts%2F151\" style=\"font-size: 0px;width:16px;height:16px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"16\" height=\"16\" style=\"display: inline;width:16px;height:16px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/blog.calj.net\/en\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/32x32\/mail.png\" \/><\/a><\/div><p>Some of you may have experienced a sudden change of the app&#8217;s language on iPhone.<\/p>\n<div>An app can contain more than one language, this is what we call Localization, and it is up to the system (iOS) to choose which one to display, according to what it thinks could be the best guess for your configuration.<\/div>\n<div><\/div>\n<div>It seems there is a bug in iOS 8 (or let&#8217;s call it a weird feature?) : after you upgrade, the system is not sure about your preferred language, if the app is not localized for your actual system language. Currently CalJ (as of v.2.8.3) speaks English, French, German, Spanish and Hebrew. So for example, if your iOS is in Italian, then it needs to decide for you in which language it will open CalJ, instead of Italian.<\/div>\n<p>&nbsp;<\/p>\n<div>Now, if you were used to using the app in English on your device with iOS 7, and then you upgraded the system to iOS 8, you probably found that the app suddenly switched to French. That&#8217;s because of the said <del>bug<\/del> feature in iOS8: it thinks that French is a better match for your Italian system rather than English.<\/div>\n<div><\/div>\n<div>Internally, iOS keeps record of your preferred languages: every time you change the interface language of the system, iOS puts this new language on top the stack of the recently used languages. Then when you open an app which does not feature the currently active language (which is also the topmost element in this stack), it descends the list to determine the nearest preferred language which the app is able to show. If there is none, then buggy iOS 8 will decide G&#8221;d knows how.<\/div>\n<p>&nbsp;<\/p>\n<div>Therefore, don&#8217;t worry about CalJ, here is how you will solve the situation: go to iPhone&#8217;s System <strong>Settings <\/strong>\/ <strong>General<\/strong> \/ <strong>Languages<\/strong>, and switch your device to English so that you place English on top of the stack.<\/div>\n<div>Then, go back to the settings again and switch it back to your native language: English is downgraded to second position is stack, which is good enough to let CalJ display English again.<\/div>\n<p>&nbsp;<\/p>\n<p>If you wish to contribute to the development of CalJ, by helping to make a version in your language, please contact me! It is not a lot of work to do (about a hundred words or phrases in a file for you to translate).<\/p>\n<div>Shabbat shalom,<\/div>\n<div>Gabriel<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Some of you may have experienced a sudden change of the app&#8217;s language on iPhone. An app can contain more&hellip;<\/p>\n","protected":false},"author":1,"featured_media":152,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[14,25],"class_list":["post-151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ios","tag-iphone","tag-tip"],"_links":{"self":[{"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":7,"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":159,"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/posts\/151\/revisions\/159"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/media\/152"}],"wp:attachment":[{"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.calj.net\/en\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}