Let multiple users translate your resx files (.NET Resource files) in an online interface.
OnlineResxTranslator is an ASP.NET 4.8 online plattform to translate multiple files from multiple projects in multiple languages per user, bundled in one nice little bootstrap-themed online interface.
Originally I built the project for multi-project solutions (like standard C# Project solutions with multiple projects in it), but the platform can also be used for just one project.
So, briefly summarized:
Multi-user online translation platform (looks good on most browsers thanks to the holy bootstrap)
There are also images under Screens/ if you want to have a closer look at it.
(0. Might be necessary if nuget doesn't install all dependencies: run Update-Package -reinstall
in the nuget package manager console (see also: troubleshooting)
- Have a look at the web.config and replace the default platform name and the translation-containing folder with your strings.
- Register your first account (Note: The first account will always be an admin-privileged account, all subsequent accounts will have standard user privileges)
- Add a folder with your project files (probably you want them to be not in the publicly accessible directory) in a directory of your choice (the choice you made two sentences earlier) and create a reference in the admin panel with your just newly created admin account
- Translate! Not yet created language files are automatically created if you choose their language in the menu (if you've assigned multiple languages to your user)
Note: You might want to disable the public registration feature after you've set everything up - you can do this if you set the setting EnableOpenRegistration
in the app.config to false.
Also note: If you want to create more users, you should do this over the registration function (also accessible over the manage menu over which you got to the admin panel)
Also also note: If you want to add captions to your files to be seen in the file overview, have a look at the language code xml files in the project folders.
Problems I've encountered:
- If Visual Studio doesn't find certain classes in certain namespaces ("type or namespace name 'bla' does not exist in the namespace 'Microsoft'" or similar) or complains about not finding csc.exe, run
Update-Package -reinstall
in the nuget package manager console, this way the project is forced to get all important packages again - If a translation file doesn't exist (e.g. because you imported an already translated language and the platform did not generate the files itself), hit the recalculate (⟳) button, the recalculation process will automatically create all not yet existing translation files
- You don't see a resource for translation although it's in the corresponding file: Check if the type of resource is excluded by the plaform in
XMLFile#NotArgs[]
- The site looks weird or requesting ~/Content/css results in a 404: Restart your VS instance (or IIS App Pool)
- There are compilation errors complaining about a wrong version of .NET Framwork or C#:
Using
targetFramework="4.7"
(as attribute in the httpRuntime/compilation node) and/langversion:9.0
(as c#compilerOptions
flat) in your Web.config should be enough. Be aware though that the plan for this project is to be upgraded to .NET Core in the future.
- The fundamentals and idea I was originally starting to work from were taken from the (
already archivednow only viewable via Web Archive) "ResX Translation Helper", which was licensed under the GPLv2 as therefore this project is, too. - If you have suggestions or ideas, just open an issue and I'll have a look at it, if you have questions, don't hesitate to write me.