I've subclassed Devise::RegistrationsController
. The subclassed controller, in my case, is AdminRegistrationsController
.
But, when I sign up a new admin, for example, the flash
shows the message:
translation missing: en.devise.admin_registrations.admin.signed_up
I've verified an entry exists in config/locales/devise.en.yml
. Here's the snippet:
en:
devise:
registrations:
signed_up: 'Welcome! You have signed up successfully.'
What am I missing?
To fix this, head to your language editor within the admin (Online store > Themes > Actions > Edit Languages). From there, you should see the notice for the missing translation. You can just fill the words back in and then this error should be resolved.
SID to name translation can be effected if SMB signing is required on one side, but not enabled on the other. Since we have an external domain trust, NTLM authentication is used. It is possible that this configuration mismatch will block SID to name translation. When resolved, the trace should look similar to this:
You can check to see if the policy is enabled on your target DC by running GPRESULT /h gpresult.html . There are some instances where translation is still not occurring. At this point, the best way to troubleshoot is with a network capture from both sides. You can take a network trace using Microsoft Network Monitor 3.4 .
You will find this policy in Computer Configuration->Windows Settings->Security Settings->Local Policies->Security Options . It should be noted that by enabling this policy, domain controllers will allow translations to occur even if the user is anonymous or sends bad credentials.
You must do this :
en:
devise:
admin_registrations:
admin:
signed_up: 'Welcome! You have signed up successfully.'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With