如何将两个项目合并为一个项目。 [英] how to merge two project into one project.

查看:1419
本文介绍了如何将两个项目合并为一个项目。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的



我是Android新手,现在我正在研究有不同语言的项目。所以我创建了两个具有相同功能但差异语言的项目。现在我想将这两个项目合并到一个项目中,并为用户提供在使用时选择语言的能力。所以当他们使用这个软件时,如果他们选择英语,那么它会切换到英语,如果他们选择其他语言,就会切换到那种语言。



请告诉我该怎么做像那样 。如果你有样品请告诉我。

解决方案

你不需要合并项目!您需要做的就是定义资源。



看看这里:

使用资源进行本地化 [ ^ ] - 推荐!

以编程方式更改Android应用程序中的语言 [ ^ ]

在Android中以编程方式更改语言 [ ^ ]


看看 ICanLocalize的

Dear

I am new to android and now i am working on project that have difference language . so i created two project that have the same function but difference language . now i want to merge that two project into one project and give ability for user to choose language when they use it. so when they use this software if they choose English language then it switch to English and if they choose other language it switch to that language.

Please tell me how to do like that . if you have sample please show me.

解决方案

You don't need to merge projects! All what you need to do is to define resources.

Have a look here:
Localizing with Resources[^] - recommended!
Programmatically change language in Android-application [^]
Change language programatically in Android[^]


Have look at iCanLocalize.


这篇关于如何将两个项目合并为一个项目。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆