Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to set the blog Culture #9

Open
JakeGinnivan opened this issue Oct 29, 2012 · 1 comment
Open

Option to set the blog Culture #9

JakeGinnivan opened this issue Oct 29, 2012 · 1 comment

Comments

@JakeGinnivan
Copy link
Member

Everything seems to be en-US in my blog but dates are displayed in fr-FR. I added in the Web.config to force en-US but it doesn't work.
Something seems to be forcing the culture to a calculated value (but which?).

It would be nice to have an option to set the blog culture or just to support the system.web/globalization.

@JakeGinnivan
Copy link
Member Author

Jeff Jin
While going through the source code, I found FunnelWeb is not using any resource file or other localization mechanism to support different cultures. Setting cultures is config file will only change some formats .Net supports, but it won't translate any contents. In order to fully support multi-cultures, We need to

  1. Add all static contents from view file, cs file into resource file, including html control contents, messages.

  2. Remove all predefined formats such as Date format, currency and other culture specific formats and resolve them in the runtime.

  3. FunnelWeb system should have a way to detect browser culture settings as well as setting culture in Admin page and store it in the database for each admin.

  4. In order to dynamically support any cultures, FunnelWeb should have Resource related database tables to store resources and support dynamic translation. In this case, we only need to have one default resource file and all other satellite resource contents can be saved into database.

2012-09-06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant