mail-archives/monodroid/2011-December/007427.html

121 строка
5.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Problems localizing monodroid app
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Problems%20localizing%20monodroid%20app&In-Reply-To=CACWcBbka6M_cU7RLM-qAGyi_8vQy7VkqPp3vksPHHmO%2BQT3JcQ%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007426.html">
<LINK REL="Next" HREF="007428.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Problems localizing monodroid app</H1>
<B>Emiel Metselaar</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Problems%20localizing%20monodroid%20app&In-Reply-To=CACWcBbka6M_cU7RLM-qAGyi_8vQy7VkqPp3vksPHHmO%2BQT3JcQ%40mail.gmail.com"
TITLE="[mono-android] Problems localizing monodroid app">edmetselaar at gmail.com
</A><BR>
<I>Fri Dec 2 05:08:13 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007426.html">[mono-android] Problems localizing monodroid app
</A></li>
<LI>Next message: <A HREF="007428.html">[mono-android] Problems localizing monodroid app
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7427">[ date ]</a>
<a href="thread.html#7427">[ thread ]</a>
<a href="subject.html#7427">[ subject ]</a>
<a href="author.html#7427">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I am localising by placing my strings.xml under Values and Values-nl, this
works.
On Fri, Dec 2, 2011 at 10:15 AM, Tomasz Cielecki &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">tomasz at ostebaronen.dk</A>&gt;wrote:
&gt;<i> It is supposed to be available since Mono for Android 1.0.1, though I
</I>&gt;<i> am not sure if you have to use their template. You can try make one
</I>&gt;<i> from the Mono for Android template and see if that works.
</I>&gt;<i>
</I>&gt;<i> On Fri, Dec 2, 2011 at 10:01 AM, warren burch &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">warrenburch at gmail.com</A>&gt;
</I>&gt;<i> wrote:
</I>&gt;<i> &gt; My app is localized using the standard .NET RESX methods (ie.
</I>&gt;<i> String.fr.resx,
</I>&gt;<i> &gt; Strings.de.resx etc.) works great under Windows Phone.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I am porting to Android using MonoDroid and I do not see the localized UI
</I>&gt;<i> &gt; when I switch locales on the phone. If I rename the APK file to ZIP and
</I>&gt;<i> open
</I>&gt;<i> &gt; it I see that it has not packaged up the locale DLLs produced during the
</I>&gt;<i> &gt; build (ie. the intermediate \.Resources.dll files are under the bin
</I>&gt;<i> &gt; directory but are not packaged into the APK).
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; What am I missing? I have tried changing the build action on the RESX
</I>&gt;<i> files
</I>&gt;<i> &gt; from &quot;Embedded Resource&quot; to &quot;Android Resource&quot; and even &quot;Android Asset&quot;
</I>&gt;<i> but
</I>&gt;<i> &gt; to no avail.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Thanks in advance for any help!
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Cheers Warren
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; --
</I>&gt;<i> &gt; View this message in context:
</I>&gt;<i> <A HREF="http://mono-for-android.1047100.n5.nabble.com/Problems-localizing-monodroid-app-tp5041118p5041118.html">http://mono-for-android.1047100.n5.nabble.com/Problems-localizing-monodroid-app-tp5041118p5041118.html</A>
</I>&gt;<i> &gt; Sent from the Mono for Android mailing list archive at Nabble.com.
</I>&gt;<i> &gt; _______________________________________________
</I>&gt;<i> &gt; Monodroid mailing list
</I>&gt;<i> &gt; <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; UNSUBSCRIBE INFORMATION:
</I>&gt;<i> &gt; <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Med Venlig Hilsen / With Best Regards
</I>&gt;<i> Tomasz Cielecki
</I>&gt;<i> <A HREF="http://ostebaronen.dk">http://ostebaronen.dk</A>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Monodroid mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
</I>&gt;<i>
</I>&gt;<i> UNSUBSCRIBE INFORMATION:
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
</I>&gt;<i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111202/fd7d9176/attachment-0001.html">http://lists.ximian.com/pipermail/monodroid/attachments/20111202/fd7d9176/attachment-0001.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007426.html">[mono-android] Problems localizing monodroid app
</A></li>
<LI>Next message: <A HREF="007428.html">[mono-android] Problems localizing monodroid app
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7427">[ date ]</a>
<a href="thread.html#7427">[ thread ]</a>
<a href="subject.html#7427">[ subject ]</a>
<a href="author.html#7427">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>