Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4778] Using Point-Notation in I18N Keys

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-07-21T16:37:46.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
Labelsi18n
ReporterAndreas
AssigneeIngo Muschenetz
Created2011-07-18T05:09:36.000+0000
Updated2017-07-21T16:37:46.000+0000

Description

At the moment, its not possible to use the "." point in the I18N-Key.
var title = L('event.category.morning.title');
I think, for readability this point notation is really good! The strings.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<resources>
  <string name="event.category.morning.title">Good morning</string>
  <string name="event.category.morning.teaser">Lorem ipsum bla ipsum!</string>
</resources>

Comments

  1. Paul Dowsett 2011-07-26

    Andreas Please remember to use the wiki markup provided to make your ticket more readable. Have you tried using underscores or dashes rather than dots? Cheers
  2. Lee Morris 2017-07-21

    Closing due to inactivity. If this issue still exists, please raise a new ticket.

JSON Source