← Back to team overview

ubuntu-touch-coreapps team mailing list archive

Re: [Ubuntu-phone] [language] east-Asian language support problem

 

Thanks Matthew,

1) rm -f /etc/fonts/conf.d/65-droid-sans-fonts.conf
2) fc-cache -f -v -s
3) Reboot

these steps works well for me  :)

BTW, will those languages support available before the Release Day ?


2013/10/3 Matthew Fischer <matthew.fischer@xxxxxxxxxxxxx>

> We are working to officially support this but here is a solution that I
> know works for Chinese and hopefully will work for the other ones you
> mentioned. It requires making the image r/w and is not supported in any
> way. This will also make your image non-updateable, so you'll have to
> reflash to get newer images. Additionally there are many non-translated
> items still, but if you want to try it, here is what you can do:
>
> 1) Modify /etc/environment and /etc/default/locale to change the locale.
> In /etc/environment, change LANG and LANGUAGE. You can use sed if you want
> like this (example for Chinese): "sed -e s/en_US/zh_CN/ -i.orig
> /etc/default/locale && sed -e s/en_US/zh_CN/ -i.orig /etc/environment"
> 2) Run locale-gen <locale> <locale.UTF8> for example, "locale-gen zh_CN
> zh_CN.UTF-8"
> 3) Reboot the device
>
> If you have issues with some bad characters then you've run into the font
> fallback bug <https://bugs.launchpad.net/sevilerow/+bug/1189352>. You can
> work-around it by doing the following:
>
> 1) rm -f /etc/fonts/conf.d/65-droid-sans-fonts.conf
> 2) fc-cache -f -v -s
> 3) Reboot
>
>
> On Thu, Oct 3, 2013 at 5:41 AM, Michal Suchanek <hramrach@xxxxxxxxx>wrote:
>
>> probably language-pack-* should depend on a font required for rendering
>> the locale in question.
>>
>> Actually it seems they do but maybe it would be good idea to double-check.
>>
>> Thanks
>>
>> Michal
>>
>>
>> On 3 October 2013 12:58, Joey Chan <qqworini@xxxxxxxxx> wrote:
>>
>>> I don't think this bug is from locale, environment, setting, conf, etc..
>>>  I just add some *.ttf files to make the language support available
>>>
>>>
>>> 2013/10/3 Penk Chen <penk.chen@xxxxxxxxxxxxx>
>>>
>>>> Hi,
>>>>
>>>> FYI, I've created one (seemly related) bug here:
>>>> https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1189352
>>>>
>>>> Best,
>>>> penk
>>>>
>>>>
>>>>
>>>> On Thu, Oct 3, 2013 at 6:48 PM, Joey Chan <qqworini@xxxxxxxxx> wrote:
>>>>
>>>>> Hi Ladies and Gentlemen,
>>>>>
>>>>> For those who are living in east-Asian countries(China, Korea, Japan),
>>>>> pls have a test about your native language support in Ubuntu-Touch, e.g.
>>>>> use webbrowser to see a native website.
>>>>>
>>>>> 1. Release Notes
>>>>> The Release Notes website
>>>>> https://wiki.ubuntu.com/Touch/ReleaseNotes#Language  has a sulotion
>>>>> for installing fonts-droid, but in latest version of
>>>>> Ubuntu-Touch, fonts-droid is already the latest version;
>>>>>
>>>>> 2. choose language in setting
>>>>> Flick the list to the end, all east-Asian languages are broken,
>>>>> include Japanese,   Simplified Chinese, Traditional Chinese and Korean;
>>>>>  screenshot 7.png<https://docs.google.com/file/d/0B1Fa0vQaKud1SkZKbG1pWklZRTA/edit?usp=drive_web>
>>>>>
>>>>> 3. use the webbrowser to test language support
>>>>>
>>>>> * 4. manually add fonts to Touch
>>>>> I tried copy all my fonts from /usr/share/fonts/truetype/  to the same
>>>>> directory in Touch, then I saw different fonts shown all-in-one sentence
>>>>>
>>>>>  screenshot 6.png<https://docs.google.com/file/d/0B1Fa0vQaKud1dVN0SkNoTUp2WVE/edit?usp=drive_web>
>>>>>
>>>>>
>>>>>
>>>>> ** Suggestion from David:*
>>>>> to help improve Ubuntu-Touch, pls follow:
>>>>> 1. copy your desktop fonts to phone one by one, until your native
>>>>> language is supported;
>>>>> 2. collect enough info (font file name, desktop version, which
>>>>> language, etc..);
>>>>> 3. reply this email or report to Canonical directly (I'm not an
>>>>> official, but David is) ;
>>>>>
>>>>>
>>>>> BR,
>>>>> Joey from China
>>>>>
>>>>> --
>>>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>>>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

References