-
Notifications
You must be signed in to change notification settings - Fork 87
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
Untranslated Strings #105
Comments
Cloud you explain why you are closing this? |
I have no idea what you are talking about, you did not even specify a file. |
You could just ask. The reason i didn't specify a file it's because it's a problem with all of them. Steps to reproduce: Register an account and you will see: 'Successful Registration! Please check your email and follow the instructions.' (probably need to have verify email turned on). And then try loggin in without verifying the account to see: 'Please verify your email first. Check the email and follow the link!'. |
I see. I guess these strings have been introduced after the project was started in February 2014. Sorry for closing this to quick. |
Allow me to add those to this list of untranslated Strings. I can't seem to find them in any file. I can only confirm they are not being translated at least for Portuguese and Spanish. I could solve two of them with the following mapping. Phone is not shown in the picture, but it appears on placeholder when we add "tel" input type. However I can't seem to get the "Minimum required length" to work. I tried with and without ":". T9n.map('pt', { |
+1 same here.. please reopen issue I try to remap text fields to my language translation file:
With most mapped strings i was successful but some not. Here is strings impossible to translate:
and plus "Invalid Email" on Registration form Email field. Any idea how to fix? Maybe this issue is more close to accounts-core package? Thanks |
@MartinBucko: I see no reason why a text cannot be translated, but in your examples the key matches the value, so you will never any effect. @AnyBody: If anybody finds an untranslated string please add it to the section of the corresponding package at least in the English translation, which is the blue pause for everything else. |
+1 I'm also puzzled because some of the texts appear in English in a German form. For instance, if I do not enter something into a required field, I'm getting a message like this: "Benutzername: Required Field". Any idea how I could workaround this? |
@derwaldgeist: I don't see a translation that includes the string "Required Field". Where does it come from? |
I don't know where it comes from, but it appears on the signup page of the It would help if this text could be at least added manually. I tried to do a t9n.map() for both EN and DE, but this did not work. It worked for other texts, but not for the requiredField key. @MartinBucko seemed to have the same problem. |
Is your code online? I can't help you without understanding your problem. If you do a full text search with e.g. grep you should see where this comes from. I'm pretty sure it does not come from t9n, if it's missing fell free to add it. |
Here's the file it comes from: |
Cool. Do you want to add a translation? |
Yes, no problem. Shall I create a PR for that? Not sure if I will make it right, but I will try my best :-) |
i don't understood. requiredField translated excellent with T9!!
|
Strange. This did not work for me. EDIT: I now saw that you are using "Required Field" instead of "requiredField" as the key. And indeed, this works! Although it is strange, I am glad to have this workaround now. Thanks @gVolop. |
when useraccount form is opened in your browser, please try write it in console
|
Yes, it works with that key. Thanks. |
ok, so all that you need it write it in client in true place,
Good luck! |
@derwaldgeist, @gVolop: If you find untranslated strings in standard libraries you can simple send a pull request to add them. This way it works for everybody out of the box, exactly this is what this issue is about. Thanks @gVolop for the explanation. |
yes, i sent a request, but how can i know when it's handled |
@gVolop: Can you point me to the PR? I don't see it. |
Can you explain this? I do not understand your question. |
T9 is translation package for useraccount ? |
@gVolop: The idea is to provide translations for common meteor packages like useraccount out of the box. But no one person can provide those translations for all 30+ translations. So please, if you find a missing key provide it and do not just report it, this cannot work. I, for example, do not speak Portuguese. |
@softwarerero u r right. it's un-possible to control all this by one person. |
Sorry, made some erroneous PR. Last one should be good. My apologies. |
I have updated the italian file with suggested changes. Now I have one question that maybe require a more general discussion: Adding translation for the "maxAllowedLength" "minRequiredLength" variables: Adding localization for the strings: Adding translation for the exact strings rendered in HTML For what I've seen those variables are used from "Field.prototype.validate" function inside meteor-useraccounts/core/lib/field.js at line 253 and at line 261 in conjunction with "minLength" and "maxLength" variables. I've tried to localize the resulting error strings this way: Does any of you have any hint on how to localize that kind of concatenated strings. |
The easiest thing would be to have a translation like |
@softwarerero I saw you merged my PR. Will you update atmospherejs.com with this new version? |
v1.3.5 is out |
Hi everyone, I use the release 1.3.11 but the key "Required Field" is missing for the language Khmer and Chinese. Sincerly |
Hi, if you know how to do a pull request on GitHub just go ahead. If not you can just add the translations to the files and attach those files to this or a new ticket. Then I will be able to integrate it. |
Hi softwarerero, Thanks for your response.
Thanks you in advance for this correction. Anyway, i have another bug when i wanted upgrade your plugin release: While selecting package versions:
Do you have a solution ? Thanks and best regards ! |
I need to look into this. Do you remember what you did exactly to upgrade? BTW: This is not really a problem with untranslated strings. Feel free to open another issue. |
Hi @tuxyvarman, I just released 2.0.2 which includes your translations for "Required field". About your bug I still do not see how this can happen. |
Hi @softwarerero, I just can not upgrade your plugin because I use the plugin "useraccounts" and the dependencies are not satisfied. |
I still don't think this has any relation with "untranslated strings". I guess the line https://github.com/meteor-useraccounts/core/blob/master/package.js#L33 needs to be updated, you can do it in a fork. |
Closing as this is basically unfixable. There will always be new language strings and untranslated languages. |
Some strings still are untranslated, some examples are:
'Please verify your email first. Check the email and follow the link!'
'Successful Registration! Please check your email and follow the instructions.'
The text was updated successfully, but these errors were encountered: