Skip to content
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

Some menues don't get translated. #39380

Closed
mojontwins opened this issue Oct 20, 2021 · 6 comments
Closed

Some menues don't get translated. #39380

mojontwins opened this issue Oct 20, 2021 · 6 comments

Comments

@mojontwins
Copy link

mojontwins commented Oct 20, 2021

Steps to reproduce

  1. Click on a multimedia file

Expected behaviour

Pop-up menu is in my selected language (ES_es)

Actual behaviour

Pop-up menu is in English

Server configuration

Operating system: X

Web server:: X

Database:: X

PHP version:: X

ownCloud version: 10.8

Updated from an older ownCloud or fresh install: Updated

Where did you install ownCloud from: .tar.bz2 package

Signing status (ownCloud 9.0 and above):

The content of config/config.php:

{
    "system": {
        "updatechecker": false,
        "instanceid": "----",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "\/cloud",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "10.8.0.4",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "loc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "ldapIgnoreNamingRules": false,
        "theme": "",
        "log_type": "owncloud",
        "logfile": "[LOG]\/owncloud.log",
        "logdateformat": "F d, Y H:i:s",
        "default_language": "es",
        "loglevel": 0,
        "maintenance": false,
        "htaccess.RewriteBase": "\/",
        "token_auth_enforced": false,
        "apps_paths": [
            {
                "path": "[OWNCLOUD]\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "[OWNCLOUD]\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "enable_avatars": true,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": 25,
        "session_lifetime": 1800,
        "session_keepalive": false,
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "redis": {
            "host":  "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwriteprotocol": "https"
    }
}

List of activated apps:

  - brute_force_protection:
    - Version: 1.0.1
    - Path: /var/www/html/owncloud/apps-external/brute_force_protection
  - comments:
    - Version: 0.3.0
    - Path: /var/www/html/owncloud/apps/comments
  - configreport:
    - Version: 0.2.0
    - Path: /var/www/html/owncloud/apps/configreport
  - dav:
    - Version: 0.6.0
    - Path: /var/www/html/owncloud/apps/dav
  - federatedfilesharing:
    - Version: 0.5.0
    - Path: /var/www/html/owncloud/apps/federatedfilesharing
  - files:
    - Version: 1.5.2
    - Path: /var/www/html/owncloud/apps/files
  - files_external:
    - Version: 0.8.0
    - Path: /var/www/html/owncloud/apps/files_external
  - files_mediaviewer:
    - Version: 1.0.4
    - Path: /var/www/html/owncloud/apps/files_mediaviewer
  - files_pdfviewer:
    - Version: 0.11.2
    - Path: /var/www/html/owncloud/apps/files_pdfviewer
  - files_sharing:
    - Version: 0.14.0
    - Path: /var/www/html/owncloud/apps/files_sharing
  - files_texteditor:
    - Version: 2.3.1
    - Path: /var/www/html/owncloud/apps/files_texteditor
  - files_trashbin:
    - Version: 0.9.1
    - Path: /var/www/html/owncloud/apps/files_trashbin
  - files_versions:
    - Version: 1.3.0
    - Path: /var/www/html/owncloud/apps/files_versions
  - files_videoplayer:
    - Version: 0.10.1
    - Path: /var/www/html/owncloud/apps-external/files_videoplayer
  - provisioning_api:
    - Version: 0.5.0
    - Path: /var/www/html/owncloud/apps/provisioning_api
  - systemtags:
    - Version: 0.3.0
    - Path: /var/www/html/owncloud/apps/systemtags
  - theme-jda:
    - Version: 1.0.0
    - Path: /var/www/html/owncloud/apps-external/theme-jda
  - updatenotification:
    - Version: 0.2.1
    - Path: /var/www/html/owncloud/apps/updatenotification
  - user_ldap:
    - Version: 0.15.4
    - Path: /var/www/html/owncloud/apps/user_ldap
  - user_saml:
    - Version: 0.4.0
    - Path: /var/www/html/owncloud/apps-external/user_saml

Are you using external storage, if yes which one: no
Are you using encryption: no

Are you using an external user-backend, if yes which one: LDA

Client configuration

Browser: Any

Operating system: Any

Logs

Web server error log

No errors in log

ownCloud log (data/owncloud.log)

No errors in log

@mojontwins
Copy link
Author

Screenshot:
image

@AlexAndBear
Copy link

Hello @mojontwins

OwnCloud translations are supported by the community, therefore we use transifex for translations:
https://www.transifex.com/owncloud-org/owncloud/files_mediaviewer/

You see the untranslated strings because no one has published es_ES translations to the specific words.

I would love if you create a transifex account and translate the text, to make the product even better.

(Closing for now, as this is not an issue)

@mojontwins
Copy link
Author

Thanks. I created an account in transifex and am eager to help.

Problem is, such strings don't appear in the language file for the app, neither in the source code nor this page https://www.transifex.com/owncloud-org/owncloud/translate/#es/files_mediaviewer/283294202 .

I've managed to find "Open in media viewer" in the javascript for the files_mediaviewer app. The "View" comes from files_videoplayer I think.

How could I add them so I can properly translate it in transiflex?

@AlexAndBear
Copy link

@mojontwins Which app is the 'view' action assigned? I guess you might have an old app there, you might try to upgrade, as the new translations mostly come in with a new version of the app.

@mojontwins
Copy link
Author

"View" comes from "files_videoplayer" but you are right, that was an old version.

The problem is with "Open in media viewer" which comes from "files_mediaviewer" but isn't in the list of strings that can be translated in transiflex. The string is found in apps/files_mediaviewer/js/files_mediaviewer_init.js but it's not in the .po files.

@AlexAndBear
Copy link

THX for report, see owncloud/files_mediaviewer#547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants