国际化Web应用程序

国际化Web应用程序

本文介绍了CakePHP:国际化Web应用程序 - 设计和示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用CakePHP框架构建的Web应用程序,现在我正在进行国际化。我开始使用以下文章中概述的基本设置 -



并且根据我上一个问题添加一些自定义





为了使我的网络应用程序完全国际化,我将需要翻译我的下拉/查找内容,如 - 类别,收藏,国家,桶列表等。



什么是设计我的表和CakePHP样品?有人能用一个简单的例子和​​类来解释吗?链接或文章?



假设我们有类似 -



用户可以创建多个帖子,帖子在下拉列表中有一个类别[科学文章,匹配文章]等,我们也需要国际化下拉菜单。

解决方案

两个提示:


  1. 阅读cakephp的手册。

  2. 查看代码的可用应用程式(也许)


I have a web application built using CakePHP framework and now I am in the process of internationalizing it. I started with the base set-up as outlined in the below article -

http://puskin.in/blog/2010/08/cakephp-manage-multiple-language-in-application/

and also add little bit of customization based on my previous question -

CakePHP: Internationalizing Web Application

To completely internationalize my web app, I would need to translate my drop-down/look-up content as well, like - categories, favorites, countries, bucket list etc.

What is the best way to design my tables and CakePHP samples? Can someone explain with a simple example and classes? Links or articles?

Lets say we have something like -

A user can create multiple posts, and each post has a category [science article, match article] etc in the drop-down and same we need to internationalize drop-down as well.

解决方案

Two hints:

  1. Read the manual of cakephp.
  2. Look into the code of a available application (maybe croogo)

这篇关于CakePHP:国际化Web应用程序 - 设计和示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 14:14