简体   繁体   English

MVC结构。 语言文件夹应该放在哪里?

[英]MVC Structure. Where should be placed language folder?

I'm doing app using JavaFX and want to add to it different language support. 我正在使用JavaFX开发应用程序,并希望向其添加其他语言支持。 Current structure is: 当前结构是:

  • app 应用
  • app.controller app.controller
  • app.DA app.DA
  • app.DB app.DB
  • app.DB.backup app.DB.backup
  • app.model (Objects) app.model(对象)
  • app.view app.view
  • app.view.styles app.view.styles

Where would be right to place a language folder? 在哪里放置语言文件夹是正确的?

I am not a JavaFX expert but in general, language strings are a part of view model. 我不是JavaFX专家,但总的来说,语言字符串是视图模型的一部分。 So may be you can do this in app.view.model/ app.view.strings or may be in the app.model itself. 因此,您可以在app.view.model / app.view.strings中执行此操作,也可以在app.model本身中执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 配置应该放在哪里? - Where should configuration be placed? BufferedInputStream-BufferedOutputStream应该放在哪里 - Where should be placed the BufferedInputStream - BufferedOutputStream 我需要一个线程安全的数据结构。 我应该使用什么? - I need a thread-safe data structure. What should I use? Selenium TestnNg - AssertAll() 应该放在测试中的哪个位置 - Selenium TestnNg - where should AssertAll() be placed in the test 在Maven项目中应将引用的库放置在何处? - Where should referenced libraries be placed in a maven project? 我应该在 Eclipse IDE 的新文件夹结构中在哪里添加 servlet - Where should I add servlets in the Eclipse IDE's new folder structure 没有工厂的情况下应将策略模式置于何处? - Where should be placed switch in strategy pattern without factory? 三层系统中应将业务逻辑放在何处? - Where should be placed business logic in the three-layer system? JSF 2.2资源应该放在哪里:WEB-INF或root - Where should JSF 2.2 resources be placed: WEB-INF or root 在Java中,应该在包/源层次结构中的何处放置资源? - In Java, where in the package/source hierarchy should resources be placed?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM