зеркало из https://github.com/mono/mail-archives.git
185 строки
7.7 KiB
HTML
185 строки
7.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] Language satellite assemblies not copied into app bundle
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Language%20satellite%20assemblies%20not%20copied%20into%20app%0A%09bundle&In-Reply-To=4DDBBAA8.5000405%40pt.lu">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="004336.html">
|
|
<LINK REL="Next" HREF="004337.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] Language satellite assemblies not copied into app bundle</H1>
|
|
<B>Maxi Combina</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Language%20satellite%20assemblies%20not%20copied%20into%20app%0A%09bundle&In-Reply-To=4DDBBAA8.5000405%40pt.lu"
|
|
TITLE="[Mono-osx] Language satellite assemblies not copied into app bundle">maxi.combina at passwordbank.com
|
|
</A><BR>
|
|
<I>Wed May 25 04:03:59 EDT 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="004336.html">[Mono-osx] Language satellite assemblies not copied into app bundle
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004337.html">[Mono-osx] MonoMac Packaging fails
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4342">[ date ]</a>
|
|
<a href="thread.html#4342">[ thread ]</a>
|
|
<a href="subject.html#4342">[ subject ]</a>
|
|
<a href="author.html#4342">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>Hi Kennet,
|
|
|
|
setting the build action to Content does not work: it copies my
|
|
Localte.ca-ES.resx files into MyApp.app/Content/Resources, but I actually
|
|
need MyApp.app/Content/Resources/ca-ES/MyApp.resources.dll.
|
|
|
|
In my Linux project (also using MD) I mark the .resx files as "Embed as
|
|
resource", and it works just fine: the languages directories (ca-ES, en-US,
|
|
etc) are created, and a MyApp.resources.dll file is copied inside each
|
|
directory.
|
|
|
|
Please let me clarify one thing, as I did not explain my problem very well
|
|
in the first place: when setting Build Action to "Embed as resource"
|
|
MonoMac/MD *is* actually generating ca-ES/MyApp.resources.dll (and similar
|
|
dir/file structure), but it won't copy them into the final bundle. In the
|
|
output directory I can see:
|
|
|
|
MonoMac.dll
|
|
MyApp.app/
|
|
MyApp.exe
|
|
ca-ES/MyApp.resources.dll
|
|
en-US/MyApp.resources.dll
|
|
...
|
|
|
|
|
|
As a workaround, I have a script that copies the l10n dir/file structure
|
|
into MyApp.app/Content/Resources, but I think it would be nice that MonoMac
|
|
could take care of this
|
|
|
|
Thanks!
|
|
maxi
|
|
|
|
2011/5/24 kjpou <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">kjpou at pt.lu</A>>
|
|
|
|
><i> Maxi
|
|
</I>><i>
|
|
</I>><i> Can you change the Build Action to Content and see if that works?
|
|
</I>><i>
|
|
</I>><i> Kenneth
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> On 5/24/11 3:47 PM, Maxi Combina wrote:
|
|
</I>><i>
|
|
</I>><i> Hi,
|
|
</I>><i>
|
|
</I>><i> is there anything I can do to help out with this?
|
|
</I>><i>
|
|
</I>><i> Thanks,
|
|
</I>><i> maxi
|
|
</I>><i>
|
|
</I>><i> 2011/4/5 Maxi Combina <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">maxi.combina at passwordbank.com</A>>
|
|
</I>><i>
|
|
</I>>><i> Hello,
|
|
</I>>><i>
|
|
</I>>><i> my application has language support via .resx files. They correctly
|
|
</I>>><i> generated, but are not copied inside the MyApp.app bundle when I compile.
|
|
</I>>><i> I can see the different directories (one for each culture) such as ca-ES,
|
|
</I>>><i> en-US or zh-CN genereated. It is only that they don't get copied inside the
|
|
</I>>><i> final app bundle.
|
|
</I>>><i> If I manually copy them, I get the expected l10n to work.
|
|
</I>>><i>
|
|
</I>>><i> Am I missing some configuration option? Or is this an issue?
|
|
</I>>><i> It is not a big deal, just that it would be great that the generated
|
|
</I>>><i> satellite assemblies got automagically included inside my bundle :)
|
|
</I>>><i>
|
|
</I>>><i> Thanks,
|
|
</I>>><i> maxi
|
|
</I>>><i>
|
|
</I>>><i> --
|
|
</I>>><i> *Maxi Combina*
|
|
</I>>><i> Cell:+1 408 300 3614
|
|
</I>>><i> Tel: +1 408 524 1579
|
|
</I>>><i> 440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
|
|
</I>>><i>
|
|
</I>>><i> www.PasswordBank.com <<A HREF="http://www.passwordbank.com/">http://www.passwordbank.com/</A>>
|
|
</I>>><i> This message and its attachments are sent from PasswordBank, Inc. and
|
|
</I>>><i> may contain information that is
|
|
</I>>><i> confidential. If you are not the intended recipient, you are prohibited
|
|
</I>>><i> from printing, copying, forwarding or
|
|
</I>>><i> saving them. Please delete the message and attachments without printing,
|
|
</I>>><i> copying, forwarding or saving
|
|
</I>>><i> them, and notify the sender immediately. Message transmission is not
|
|
</I>>><i> guaranteed to be secure.
|
|
</I>>><i>
|
|
</I>>><i>
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> --
|
|
</I>><i> *Maxi Combina*
|
|
</I>><i> Cell:+1 408 300 3614
|
|
</I>><i> Tel: +1 408 524 1579
|
|
</I>><i> 440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
|
|
</I>><i>
|
|
</I>><i> www.PasswordBank.com <<A HREF="http://www.passwordbank.com/">http://www.passwordbank.com/</A>>
|
|
</I>><i> This message and its attachments are sent from PasswordBank, Inc. and
|
|
</I>><i> may contain information that is
|
|
</I>><i> confidential. If you are not the intended recipient, you are prohibited
|
|
</I>><i> from printing, copying, forwarding or
|
|
</I>><i> saving them. Please delete the message and attachments without printing,
|
|
</I>><i> copying, forwarding or saving
|
|
</I>><i> them, and notify the sender immediately. Message transmission is not
|
|
</I>><i> guaranteed to be secure.
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>><i> _______________________________________________
|
|
</I>><i> Mono-osx mailing <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">listMono-osx at lists.ximian.comhttp</A>://lists.ximian.com/mailman/listinfo/mono-osx
|
|
</I>><i>
|
|
</I>><i>
|
|
</I>
|
|
|
|
--
|
|
*Maxi Combina*
|
|
Cell:+1 408 300 3614
|
|
Tel: +1 408 524 1579
|
|
440 N. Wolfe Road. Sunnyvale. CA. 94085. USA
|
|
|
|
<<A HREF="http://www.passwordbank.com/">http://www.passwordbank.com/</A>>www.PasswordBank.com<<A HREF="http://www.passwordbank.com/">http://www.passwordbank.com/</A>>
|
|
This message and its attachments are sent from PasswordBank, Inc. and may
|
|
contain information that is
|
|
confidential. If you are not the intended recipient, you are prohibited from
|
|
printing, copying, forwarding or
|
|
saving them. Please delete the message and attachments without printing,
|
|
copying, forwarding or saving
|
|
them, and notify the sender immediately. Message transmission is not
|
|
guaranteed to be secure.
|
|
-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20110525/9c3c6eb7/attachment-0001.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20110525/9c3c6eb7/attachment-0001.html</A>
|
|
</PRE>
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="004336.html">[Mono-osx] Language satellite assemblies not copied into app bundle
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004337.html">[Mono-osx] MonoMac Packaging fails
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4342">[ date ]</a>
|
|
<a href="thread.html#4342">[ thread ]</a>
|
|
<a href="subject.html#4342">[ subject ]</a>
|
|
<a href="author.html#4342">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|