← Back to team overview

ubuntu-phone team mailing list archive

Re: Keyboard documentation

 

Hi Bogdan,

 Sorry for the delay in responding to this. If you use something like
the branch you linked to as a template, then all you need to do to
generate the database is replace the "free_ebook.txt" file with a
suitably licensed ebook (e.g. from Project Gutenberg) in your language
and then run "qmake && make lang_db_<code>" inside your plugin src
directory (where <code> is your language code, assuming you updated
the .pro file to use your own language code).

 Hope that helps!

Cheers,
 Mike.

On Wed, 2015-03-04 at 22:43 +0700, Bogdan Cuza wrote:
> Hi!
> 
> 
> I am also looking for some documentation, because I want to create a
> Romanian layout. I haven't begun working on it, yet, but I was
> wondering what those database_(language code).db files are? Are they
> for words? If so how can I generate them?
> 
> 
> PS: This might be helpful as well.
> 
> > From: simos.lists@xxxxxxxxxxxxxx
> > Date: Wed, 4 Mar 2015 10:53:16 +0200
> > To: x_nikos@xxxxxxxx
> > CC: ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Ubuntu-phone] Keyboard documentation
> > 
> > Hi Nikos,
> > 
> > I would like to help with this.
> > 
> > For testing purposes, I put together some files on my phone I was
> able
> > to type in Greek,
> > https://plus.google.com/107558083186116705038/posts/VR1tpH2VKWz
> > 
> > Did you create a branch with your work so I can help out?
> > If not, I can create a branch and add any work you have done
> already.
> > 
> > Simos
> > 
> > On Mon, Feb 23, 2015 at 11:50 PM, Nikos <x_nikos@xxxxxxxx> wrote:
> > > Hi Ari
> > >
> > > On Κυριακή, 22 Φεβρουαρίου 2015 3:26:07 Μ.Μ. EET, Ari Börde Kröyer
> wrote:
> > >>
> > >> Hi
> > >>
> > >> I have been planning to make a Norwegian keyboard, but I have
> limited,
> > >> although some, programming experience.
> > >>
> > >> I understand I should start by checking out a branch:
> > >> bzr branch lp:ubuntu-keyboard add-norwegian-layout
> > >>
> > >> Now, what does this actually do? Will I be working locally on my
> PC or
> > >> will I have created a branch on Launchpad
> > >
> > >
> > > You will work locally on your pc
> > >
> > >> Next, I wonder what I will need to do? I am assuming I need to
> create a
> > >> subdirectory under the 'plugins' directory named 'no', where I
> should to
> > >> copy, rename and edit the apropriate files from another
> subdirectory, for
> > >> example fram 'ca' (catalan). Is this correct?
> > >>
> > >> Will I need to do more than this?
> > >
> > >
> > > On David's merge request you will see all the files/directories
> you need to
> > > add and all the changes you need to do to the code. Aslo read the
> wiki Mike
> > > provided.
> > >
> > > Finally take a look at the e-mail Mike sent today about how you
> should add
> > > files/directories. I need to branch again and add
> files/directories with the
> > > appropriate command
> > >>
> > >>
> > >> Any help would be very much appreciated! Thanks in advance.
> > >>
> > >> Best regards,
> > >> Ari
> > >>
> > >> Den 20. feb. 2015 08:25, skrev Nikos:
> > >>
> > >>> Thank you for the help.
> > >>>
> > >>> I've already started working on the layout.
> > >>>
> > >>> I' ll be back when finished.
> > >>>
> > >>> On Πέμπτη, 19 Φεβρουαρίου 2015 1:45:50 Μ.Μ. EET, Mike Sheldon
> wrote:
> > >>>>
> > >>>> Hi Nikos,
> > >>>>
> > >>>> Here's a work in progress guide I've been writing about
> creating
> > >>>> keyboard layouts, it's still in a pretty early state but there
> should be
> > >>>> some useful information there:
> https://wiki.ubuntu.com/KeyboardLayouts
> > >>>>
> > >>>> As David suggested you'll do well to look at his merge request
> for an
> > >>>> example of everything that needs to be done (some things aren't
> covered
> > >>>> in the guide yet).
> > >>>>
> > >>>> Cheers,
> > >>>> Mike.
> > >>>>
> > >>>> On Thu, 2015-02-19 at 11:49 +0100, David Planella wrote:
> > >>>>>
> > >>>>> Hi Nikos,
> > >>>>>
> > >>>>>
> > >>>>> There is no documentation as far as I can remember. A while
> ago I
> > >>>>> submitted a new keyboard for Catalan. This merge proposal
> should help
> > >>>>> you get started:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> https://code.launchpad.net/~dpm/ubuntu-keyboard/add-catalan/+merge/238368
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> Cheers,
> > >>>>> David.
> > >>>>>
> > >>>>>
> > >>>>> On Wed, Feb 18, 2015 at 11:37 PM, Nikos <x_nikos@xxxxxxxx>
> wrote:
> > >>>>> Hi,
> > >>>>> I feel my phone (Nexus 4 with UT) is missing local
> > >>>>> keyboard
> > >>>>> (i'm from Greece).
> > >>>>> Is there any documentation of how i could write one?
> > >>>>> Where should i begin?
> > >>>>> Thanks
> > >>>>> -- Sent using Dekko from my Ubuntu device
> > >>>>> -- 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
> > >>>>>
> > >>>>>
> > >>>>
> > >>>>
> > >>>
> > >>>
> > >>
> > >>
> > >
> > >
> > > --
> > > Sent using Dekko from my Ubuntu device
> > >
> > > --
> > > 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




Follow ups

References