[haiku-depot-web] Re: Italian translation

  • From: Andrew Lindesay <apl@xxxxxxxxxxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Fri, 05 Oct 2018 21:35:54 +0200

At the moment you need to quit and re-open HaikuDepot (HD) desktop 
application to get it to refresh data from the HDS system.
Hmm... there still is no italian text for ArmyKnife. I started
HaikuDepot with -v trace and see this: http://ix.io/1oqi
Anything suspicious?

It looks like Italian is unfortunately not in the list of hard-coded supported 
languages in HD;

```
        // TODO: Fetch this from the web-app.
        fSupportedLanguages.Add("en");
        fSupportedLanguages.Add("de");
        fSupportedLanguages.Add("fr");
        fSupportedLanguages.Add("ja");
        fSupportedLanguages.Add("es");
        fSupportedLanguages.Add("zh");
        fSupportedLanguages.Add("pt");
        fSupportedLanguages.Add("ru");
```

The timing is good actually because earlier in the week I added APIs to HDS to 
provide all of the reference data including language codes at start time!  
However this is not deployed yet etc...

In the meantime I will make a small patch to add Italian to the list in HD and 
hopefully other languages will be supported once the new API is feeding 
reference data into HD.

Regards;

Other related posts: