personium / app-uc-cell-creator-wizard

It's just a DEMO! (Don't worry, you cannot create a cell.)
https://demo.personium.io/app-uc-cell-creator-wizard/__/index.html?lng=en
Apache License 2.0
1 stars 4 forks source link

App cell's default profile is not bilingual #8

Closed dixonsiu closed 6 years ago

dixonsiu commented 7 years ago

Issue

Currently the following is created inside an app's box.

{
    "CellType":"Person",
    "DisplayName":"Guest",
    "Description":"",
    "Image":"",
    "ProfileImageName":""
}

Expected to be bilingual.

{
    "CellType":"App",
    "DisplayName":{"en": "App", "ja": "アプリ"},
    "Description":{"en": "", "ja": ""},
    "Image":"",
    "ProfileImageName":""
}

Solutions

Either one of the solutions

  1. Save the same information to all language.
    e.g. "DisplayName": {"en": "App", "ja": "App"} or vice versa
    Merit: English user developing for English only target does not need to manually change the profile.json Demerit: Japanese user needs to manually change the profile.json

  2. Save the information according to the selected language.
    Merit: No change to the input fields. Only concern target users.
    Demerit: Manually modify the other language.

  3. Provide a way to edit and save both languages.
    Demerit: Never ending support, not smart.