Skip to content

Documentation #10

Open
Open
@csainty

Description

@csainty

I followed through the readme, but still had to dig into the code a few times.

First problem was that I didn't think it was clear the code expected the resource file to be called Language.resx
https://github.com/Code52/aspnet-internationalization/blob/master/src/Code52.i18n.MVC/NuSpec/Content/App_Readme/Code52.i18n.MVC.readme.txt.pp#L14

The code that expects this to be the name is here
https://github.com/Code52/aspnet-internationalization/blob/master/src/Code52.i18n.MVC/NuSpec/Content/Controllers/LanguageController.cs.pp#L52

Second problem is that it does not explain how to go about configuring your supported cultures.
There is this code
https://github.com/Code52/aspnet-internationalization/blob/master/src/Code52.i18n.MVC/NuSpec/Content/Controllers/LanguageController.cs.pp#L14

This code
https://github.com/Code52/aspnet-internationalization/blob/master/src/Code52.i18n.MVC/NuSpec/Content/Code52.i18n/CultureHelper.cs.pp#L18

And this code
https://github.com/Code52/aspnet-internationalization/blob/master/src/Code52.i18n.MVC/NuSpec/Content/Views/Shared/LanguageSelection.ascx#L13

All of which seem to be defining what the supported list of cultures are, none of those lists match and none of the docs explain which ones to change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions