XML With Xliff

by MaTriXy » Mon, 13 Apr 2009 22:06:01 GMT

Sponsored Links
I have seen projects with Xliff and wanted to know how exactly it's
i saw it on the lock screen and wanted to do it myself
so i took this line:
    <string name="lockpattern_recording_incorrect_too_short">Connect
at least
    <xliff:g id="number">%d</xliff:g> dots. Try again:</string>

But i get XML Parsing Error until i erase the entire xliff tag...
Thx for replying.


XML With Xliff

by Dianne Hackborn » Tue, 14 Apr 2009 03:49:00 GMT

 You probably need to declare the xliff namespace prior to its use.

Also the xliff stuff is only for localization; if you aren't giving your
strings to localizers (who use this information to determine how to handle
parts of the string), there is little reason for dealing with it.  Of course
if you think you may be doing this in the future, it is certainly not a
problem to pro-actively but the stuff in now.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.


Sponsored Links

Other Threads

1. Ode to the tmobile g1 serial port

I love thee tmobile g1 serial port, let me count the ways:
1.  I made a serial cable to thee that works with your serial de{*filter*}

I was told to get access to the serial port for my own writing the following
would have to occur:

1.  The serial de{*filter*} would have to be disabled
2.  mknod may have to be used to create the device like /dev/tty0

When I do a logcat and plug in the serial cable no logging shows anything is
loading.  It still works so I know something is loading.  Help I beg of thee
my kind fellows!



2. How to receive an incoming call programmatically?

is it possible to intercept an incoming call?

I want my application to receive the call automatically through
programming.Can we do this in SDK-1.6?


3. A new Android language?

4. Any guidance for values to use for MenuItem.setShortcut(...) ?

5. Translate my app, I'll translate yours.

6. Question on task affinites

7. using SKIA canvas in native code, SimpleJNI hack.