{"id":8318,"date":"2019-08-16T14:09:08","date_gmt":"2019-08-16T17:09:08","guid":{"rendered":"http:\/\/kb.elipse.com.br\/en\/?p=8318"},"modified":"2019-08-26T13:33:54","modified_gmt":"2019-08-26T16:33:54","slug":"kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/","title":{"rendered":"KB-103435: Support to multiple languages in an Elipse Mobile application."},"content":{"rendered":"<h2><strong>Question:<\/strong><\/h2>\n<p>Can I develop an application with support to multiple languages in <a href=\"https:\/\/www.elipse.com.br\/en\/produto\/elipse-mobile\/\" target=\"_blank\" rel=\"noopener noreferrer\">Elipse Mobile<\/a>?<\/p>\n<h2><strong>Solution:<\/strong><\/h2>\n<p>Yes, it&#8217;s possible to develop an application with support to multiple languages in Elipse Mobile. To do so, you can use an <a href=\"https:\/\/kb.elipse.com.br\/en\/developing-expressions-in-elipse-mobile\/\">expression<\/a> that checks the language returned by the browser via\u00a0 <em>navigator.language <\/em>property. To add an expression to the application, start the script with\u00a0 \u201c=\u201d; this will signal that the field is receiving an expression.<\/p>\n<p><strong>NOTE<\/strong>: all texts in Elipse Mobile&#8217;s configuration environment have already been automatically translated according to the browser&#8217;s native language in use.<\/p>\n<h2><strong>Example:<\/strong><\/h2>\n<p>Firstly, we will create a <strong>Display Link <\/strong>control type<strong>;<\/strong> this object works similarly to a display, and also has a feature that enables page change.<\/p>\n<p>In this case, the language in the browser is the one from\u00a0 <em>navigator.language <\/em>property<em>.<\/em> The title will vary according to the returned value; for example:<\/p>\n<ul>\n<li><strong>pt-BR<\/strong> (Brazilian Portuguese): the title in display is \u201cManuten\u00e7\u00e3o\u201d.<\/li>\n<li><strong>en-US<\/strong> (American English): the title in display is \u201cMaintenance\u201d.<\/li>\n<li><strong>es-MX<\/strong> (Mexican Spanish): the title in display is \u201cMantenimiento\u201d.<\/li>\n<\/ul>\n<p>If none of these conditions are met, the string in en-US\u00a0 (\u201cMaintenance\u201d) is atributed to the title.<\/p>\n<p>At\u00a0 <strong>Title <\/strong>field<strong>, <\/strong>use the following expression:<\/p>\n<pre>=navigator.language == \"pt-BR\" ? \"Manuten\u00e7\u00e3o\" : (navigator.language == \"en-US\" ? \"Maintenance\":\u00a0 (navigator.language == \"es-MX\" ? \"Mantenimiento\": \"Maintenance\"))<\/pre>\n<p>The figure below illustrates the result of this operation.<\/p>\n<p><a href=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/8009\/1.png\"><img loading=\"lazy\" class=\"size-full wp-image-8013 aligncenter\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/8009\/1.png\" alt=\"\" width=\"624\" height=\"350\" \/><\/a><\/p>\n<p>And in the figure below, we see the result that illustrates one of the languages\u00a0 (in this case, es-MX):<\/p>\n<p><a href=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/8009\/2.png\"><img loading=\"lazy\" class=\"size-full wp-image-8014 aligncenter\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/8009\/2.png\" alt=\"\" width=\"315\" height=\"263\" \/><\/a><\/p>\n<p><strong>NOTE:<\/strong> If you want to sort out the browser&#8217;s languages so that you can check\/set them according to your preferences (for example, at Google Chrome), just access\u00a0 <strong>Settings\u2013 Advanced\u2013 Languages<\/strong> (<a href=\"chrome:\/\/settings\/\">chrome:\/\/settings\/<\/a>). If your device runs IOS, then acccess <strong>Settings- General<\/strong>, check <strong>Language and Region&#8211;<\/strong><strong>device language<\/strong>, and select one of the languages from the list.<\/p>\n<p>&nbsp;<\/p>\n<h3>Related articles<\/h3>\n<hr \/>\n<ul>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/multilanguage-application\/\" target=\"_blank\" rel=\"noopener noreferrer\">Multilanguage Application<\/a><\/li>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/developing-expressions-in-elipse-mobile\/\" target=\"_blank\" rel=\"noopener noreferrer\">Developing expressions in Elipse Mobile.<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Question: Can I develop an application with support to multiple languages in Elipse Mobile? Solution: Yes, it&#8217;s possible to develop an application with support to multiple languages in Elipse Mobile.&hellip;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[834],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Support to multiple languages in an Elipse Mobile application.<\/title>\n<meta name=\"description\" content=\"This article shows how you can add support to multiple languages in an Elipse Mobile application, in addition to the browser&#039;s native language.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Support to multiple languages in an Elipse Mobile application.\" \/>\n<meta property=\"og:description\" content=\"This article shows how you can add support to multiple languages in an Elipse Mobile application, in addition to the browser&#039;s native language.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-16T17:09:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-26T16:33:54+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/8009\/1.png\" \/>\n<meta name=\"author\" content=\"D\u00e9lio Damin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"D\u00e9lio Damin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/\"},\"author\":{\"name\":\"D\u00e9lio Damin\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/be597eff34b5f24af940a55332870778\"},\"headline\":\"KB-103435: Support to multiple languages in an Elipse Mobile application.\",\"datePublished\":\"2019-08-16T17:09:08+00:00\",\"dateModified\":\"2019-08-26T16:33:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/\"},\"wordCount\":313,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Elipse Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/\",\"name\":\"Support to multiple languages in an Elipse Mobile application.\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-08-16T17:09:08+00:00\",\"dateModified\":\"2019-08-26T16:33:54+00:00\",\"description\":\"This article shows how you can add support to multiple languages in an Elipse Mobile application, in addition to the browser's native language.\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB-103435: Support to multiple languages in an Elipse Mobile application.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/be597eff34b5f24af940a55332870778\",\"name\":\"D\u00e9lio Damin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fdf251d36430f8dd22144c3f1bc53376?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fdf251d36430f8dd22144c3f1bc53376?s=96&d=mm&r=g\",\"caption\":\"D\u00e9lio Damin\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/delio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Support to multiple languages in an Elipse Mobile application.","description":"This article shows how you can add support to multiple languages in an Elipse Mobile application, in addition to the browser's native language.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/","og_locale":"en_US","og_type":"article","og_title":"Support to multiple languages in an Elipse Mobile application.","og_description":"This article shows how you can add support to multiple languages in an Elipse Mobile application, in addition to the browser's native language.","og_url":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-08-16T17:09:08+00:00","article_modified_time":"2019-08-26T16:33:54+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/8009\/1.png"}],"author":"D\u00e9lio Damin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"D\u00e9lio Damin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/"},"author":{"name":"D\u00e9lio Damin","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/be597eff34b5f24af940a55332870778"},"headline":"KB-103435: Support to multiple languages in an Elipse Mobile application.","datePublished":"2019-08-16T17:09:08+00:00","dateModified":"2019-08-26T16:33:54+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/"},"wordCount":313,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Elipse Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/","url":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/","name":"Support to multiple languages in an Elipse Mobile application.","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-08-16T17:09:08+00:00","dateModified":"2019-08-26T16:33:54+00:00","description":"This article shows how you can add support to multiple languages in an Elipse Mobile application, in addition to the browser's native language.","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/kb-103435-support-to-multiple-languages-in-an-elipse-mobile-application\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"KB-103435: Support to multiple languages in an Elipse Mobile application."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/be597eff34b5f24af940a55332870778","name":"D\u00e9lio Damin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fdf251d36430f8dd22144c3f1bc53376?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fdf251d36430f8dd22144c3f1bc53376?s=96&d=mm&r=g","caption":"D\u00e9lio Damin"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/delio\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8318"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=8318"}],"version-history":[{"count":5,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8318\/revisions"}],"predecessor-version":[{"id":8424,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8318\/revisions\/8424"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=8318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=8318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=8318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}