← Back to team overview

touch-packages team mailing list archive

[Bug 1384772] Re: app name in sys settings > accounts > account > app not i18nable

 

Hey Kyle, the only string that is put into the .desktop file is the
scope name, so I assume you're talking about that string.

This is actually already supported. The strings that end up in the
.desktop file are localised from what you put into your scope .ini file.
So if your .ini file has translations specified (i.e. DisplayName[en],
DisplayName[de], etc.), the desktop file will get the appropriate
translation inserted into it.

One limitation at the moment is that the scope registry needs to be
restarted if your locale changes. You can obviously do this by
restarting the phone, but a "restart scope-registry" will do it too.

An additional note: If you need to localise the strings in your
.application and .service files you'll need to add a <translations>
element with the name of the gettext domain (E.g.
<translations>youtubescope</translations>) to the xml.

** Changed in: ubuntu-system-settings-online-accounts (Ubuntu)
       Status: New => Invalid

** Changed in: unity-scopes-api (Ubuntu)
       Status: New => Incomplete

** Changed in: unity-scopes-api (Ubuntu)
     Assignee: (unassigned) => Marcus Tomlinson (marcustomlinson)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-system-settings-
online-accounts in Ubuntu.
https://bugs.launchpad.net/bugs/1384772

Title:
  app name in sys settings > accounts > account > app not i18nable

Status in The Savilerow project:
  New
Status in “ubuntu-system-settings-online-accounts” package in Ubuntu:
  Invalid
Status in “unity-scopes-api” package in Ubuntu:
  Incomplete
Status in “unity8” package in Ubuntu:
  Invalid

Bug description:
  A scope that uses scope online accounts ends up being represented in
  sys settings > accounts > ACCOUNT > SCOPE/APP.

  Problem:
  The string is always in English & there is no way currently for the scope to provide a translations. 

  Notes:
  The displayed string comes from a desktop file that is auto-generated for the scope. Desktop files can have inline translations, but there is currently no way for the scope to provide the desktop file with inline translations or provide the translation so that the auto generated one uses them.

To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1384772/+subscriptions


References