Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23401] Windows: Support titleid/textid for Label, Button, Tab, AlertDialog & OptionDialog

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2016-06-02T14:07:05.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.4.0
ComponentsWindows
Labelsqe-5.3.0, qe-5.4.0
ReporterEwan Harris
AssigneeKota Iguchi
Created2016-05-17T19:08:49.000+0000
Updated2016-06-29T21:35:42.000+0000

Description

Description

On iOS and Android you can set the title for the following by setting titleid to the name of the string within the strings.xml file * alertdialog * button * optiondialog * tab * window ([TIMOB-23454]) and set the text of a UI element using textid for * label
var lbl = Ti.UI.createLabel({
	color:'#999',
	textid:'welcome_message'
});
Windows should also support this. [docs](http://docs.appcelerator.com/platform/latest/#!/guide/Internationalization-section-29004892_Internationalization-Gettingalocalizedstring)

Steps to reproduce

Download the attached zip file

Build to a Windows device or emulator

Expected result

The label should contain text

Actual result

The label does not contain any text

Attachments

FileDateSize
preprodclassic.zip2016-05-17T18:46:34.000+00001383782

Comments

  1. Kota Iguchi 2016-06-01

    https://github.com/appcelerator/titanium_mobile_windows/pull/724
  2. Harry Bryant 2016-06-29

    Verified as fixed, tested support for titleid / textid for Label, Button, Tab, AlertDialog & OptionDialog. Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160627224205 Appc NPM: 4.2.7-2 Appc Core: 5.4.0-20 Node: v4.4.4 *Closing Ticket.*

JSON Source