Open stephen147 opened 2 years ago
Do you consider this to be a bug in the application? Or is your issue here more of an informative kind?
Yes, I do. It's the two sections below. They're the languages that are on Google Translate but don't work in Zeta.
The others are just informative.
Probably the reason for both parts is this:
After getting the list of possible languages from a translation provider (Bing/Azure or Google), I check each of the languages against the currently available languages on the local Windows system.
See e.g. the implementation of the IsSupportedLanguage
method.
Online those languages that can be mapped onto an existing Windows/.NET language are being made available.
I've decided this long time ago and am not sure how removing this behavior would affect the different parts of the application.
You are of course free to submit a pull request, if you could "fix" this.
I was looking here at the: Supported Culture Codes.
I'm only starting out programming in C# so I doubt I'd have the ability to fix this.
If the program is searching the local windows system with the IsSupportedLanguage method, does that make sense seeing as in development not all systems are the same?
Yes, in my opinion that does make sense, since I could not get a CultureInfo
object from this language otherwise.
Oh right, I thought it solely relied on using the google or bing API to get the languages that are supported in their APIs'.
There must be something happening as I'm getting alll of the languages that failed previously. I'm using the same dev machine here.
See attachment of the Galician language getting translated.
But after the Galician language here it shows this message.
Then if I click okay and choose the next language Gujarati it works for that and the same message will appear after that.
The same message will appear about the deleted row info. If I repeat this for each of the remaining languages in turn then it works.
Once I'm complete I'll zip the .resx
files here for you to test.
I've successfully translated 61 languages (I'll put the list below for anyone who wants a template file setup) but here's a list of the languages that are not working in Zeta but are on Google Translate.
I've put the Language after the code in the filenames that weren't successful.
There's also some that don't even get shown in Zeta but are on Google Translate shown below.
Not getting shown in Zeta but on Google
Files that are not getting translated in Zeta
There are a few important ones in there like German, Finnish, Italian, Japanese and Polish.
Working via Googles API
So you can use this as a file template
For the sake of completeness here are languages that are not on Google Translate.