Cms: Permission helper text in CP is missing for Users and Updates (in translation permissions.php files too)

Created on 20 Sep 2020  Â·  6Comments  Â·  Source: statamic/cms

Bug Description

The permission helper text is missing for the 'Users' and 'Updates' sections in the CP.
Additionally you may only need the first view_users_desc for 'Users'. All others (create, delete, change, edit) are obvious, respectively there is no help text for them at 'Assets', 'Taxonomies'. At least I would make it identical everywhere.

If you add them to the CP, they should also be translatable.

How to Reproduce

  • Go to the 'Roles & Permissions' Page in the CP
  • Create a new Role
  • Hover over options in the users and updates sections

Bildschirmfoto 2020-09-20 um 16 54 02
Bildschirmfoto 2020-09-20 um 16 54 17

Environment

Statamic 3.0.10 Pro
Laravel 7.28.3
PHP 7.4.6
No addons installed

Install method (choose one):

  • Fresh install from statamic/statamic
i18n

Most helpful comment

@damcclean This was already reported a long while back, but the issue #1697 that was listing all remaining untranslatable keys has been closed by @jasonvarga because he had trouble seeing what was solved or not. I understand that.

But nonetheless, there still are some parts of the CP that are not translated and not translatable, because keys are hardcoded in English text or because they are not generated in our locale (see below) or probably are in some .js files.

We (translators) are using "php translator generate" to generate any missing keys in our language files, but sometimes the php translator fails to generate those keys. Remember, we have no mean to directly access the full list of English keys: there is no en.json file in Statamic. No problem with messages, validation or fieldtypes, but most keys are not in those files.

I understand you want to help the gentlemen by commenting on issues (as @robdekort or @edalzell are also doing) but those i18n issues are somewhat particular, so you just cannot write "the community has not translated it yet" without taking some time to understand how the translation are made. Thanks in advance. </rant>

As @helloDanuk is doing, I guess we (translators) should now open 1 issue for 1 "problem" to make sure they are tackled down one by one. Some issues are more urgent than others, the above one probably is a medium one, but I'll let the gentlemen decide on this, especially as I don't know how many Statamic 3 licenses are bought with the idea of using the CP in another language (probably not that much...).

CC: @vitor-ao for Portuguese @owlnai for Spanish @billmn for Italian

All 6 comments

That probably means no one in the community has translated those strings yet. Which language have you got setup for viewing the Control Panel in?

@damcclean This was already reported a long while back, but the issue #1697 that was listing all remaining untranslatable keys has been closed by @jasonvarga because he had trouble seeing what was solved or not. I understand that.

But nonetheless, there still are some parts of the CP that are not translated and not translatable, because keys are hardcoded in English text or because they are not generated in our locale (see below) or probably are in some .js files.

We (translators) are using "php translator generate" to generate any missing keys in our language files, but sometimes the php translator fails to generate those keys. Remember, we have no mean to directly access the full list of English keys: there is no en.json file in Statamic. No problem with messages, validation or fieldtypes, but most keys are not in those files.

I understand you want to help the gentlemen by commenting on issues (as @robdekort or @edalzell are also doing) but those i18n issues are somewhat particular, so you just cannot write "the community has not translated it yet" without taking some time to understand how the translation are made. Thanks in advance. </rant>

As @helloDanuk is doing, I guess we (translators) should now open 1 issue for 1 "problem" to make sure they are tackled down one by one. Some issues are more urgent than others, the above one probably is a medium one, but I'll let the gentlemen decide on this, especially as I don't know how many Statamic 3 licenses are bought with the idea of using the CP in another language (probably not that much...).

CC: @vitor-ao for Portuguese @owlnai for Spanish @billmn for Italian

Thank you for commenting on this issue. I worked on the de/de-CH translation and the now closed confusing issue #1697. To move on with those open translation issues, I thought it would be best to open them 1 by 1 (or combine them if the problem is similar), so they will be more manageable. I might find some time for this during next week.

There is no urgent need for me to close them soon, my clients use V2 sites and my first V3 site and migrations are planned for next year. But when I am ready, I would like to be able to give them a professional look of the CP and for me this includes all translations. I appreciate the hard work the gentlemen are putting into all the open bugs and that others are more important at the moment – I can truly understand that it is a difficult time right now for them – please try to get enough sleep. Statamic is a 🚀 to everything I was ever looking for!

@damcclean As of the permission helper text issue above, it's in english the same problem. You do not need a translation to see these missing strings in the CP.

Thanks for your explanation, I bearly know anything about how the translator works so just presumed the community ones were out of date. Sorry!

This issue has not had recent activity and has been marked as stale — by me, a robot. Simply reply to keep it open and send me away. If you do nothing, I will close it in a week. I have no feelings, so whatever you do is fine by me.

💨🤖

Was this page helpful?
0 / 5 - 0 ratings

Related issues

philippgrimm picture philippgrimm  Â·  3Comments

AndreasSchantl picture AndreasSchantl  Â·  3Comments

sauerbraten picture sauerbraten  Â·  3Comments

sandervanh picture sandervanh  Â·  4Comments

austenc picture austenc  Â·  3Comments