% $Header: /cvsroot/latex-beamer/latex-beamer/solutions/conference-talks/conference-ornate-20min.en.tex,v 1.7 2007/01/28 20:48:23 tantau Exp $

\documentclass{beamer}

% This file is a solution template for:

% - Talk at a conference/colloquium.
% - Talk length is about 20min.
% - Style is ornate.



% Copyright 2004 by Till Tantau <tantau@users.sourceforge.net>.
%
% In principle, this file can be redistributed and/or modified under
% the terms of the GNU Public License, version 2.
%
% However, this file is supposed to be a template to be modified
% for your own needs. For this reason, if you use this file as a
% template and not specifically distribute it as part of a another
% package/program, I grant the extra permission to freely copy and
% modify this file as you see fit and even to delete this copyright
% notice. 


\mode<presentation>
{
  \usetheme{PaloAlto}
  \usecolortheme{crane}
  \usefonttheme{structurebold}
  % or ...

  \setbeamercovered{transparent}
  % or whatever (possibly just delete it)
}


\usepackage[thai]{babel}
\def\thaittdefault{ttypist}
% or whatever

\title[����� GNOME] % (optional, use only with long paper titles)
{����� GNOME}

\author[෾�Էѡ��] % (optional, use only with lots of authors)
{෾�Էѡ�� ���ح�ح�ҹѹ��}
% - Give the names in the same order as the appear in the paper.
% - Use the \inst{?} command only if the authors have different
%   affiliation.

\institute[GNOME] % (optional, but mostly needed)
{GNOME Thai translation coordinator}
% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.

\date[13 �ѹ��¹ 2551] % (optional, should be abbreviation of conference name)
{13 �ѹ��¹ 2551}
% - Either use conference name or its abbreviation.
% - Not really informative to the audience, more for people (including
%   yourself) who are reading the slides online

%\subject{Theoretical Computer Science}
% This is only inserted into the PDF information catalog. Can be left
% out. 



% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:

% \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename}
% \logo{\pgfuseimage{university-logo}}



% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
%\AtBeginSubsection[]
%{
%  \begin{frame}<beamer>{Outline}
%    \tableofcontents[currentsection,currentsubsection]
%  \end{frame}
%}


% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command: 

%\beamerdefaultoverlayspecification{<+->}


\begin{document}

\mode<presentation>
{
  \sffamily
}

\begin{frame}
  \titlepage
\end{frame}

\begin{frame}{������}
  \tableofcontents
  % You might wish to add the option [pausesections]
\end{frame}


% Structuring a talk is a difficult task and the following structure
% may not be suitable. Here are some rules that apply for this
% solution: 

% - Exactly two or three sections (other than the summary).
% - At *most* three subsections per section.
% - Talk about 30s to 2min per frame. So there should be between about
%   15 and 30 frames, all told.

% - A conference audience is likely to know very little of what you
%   are going to talk about. So *simplify*!
% - In a 20min talk, getting the main ideas across is hard
%   enough. Leave out details, even if it means being less precise than
%   you think necessary.
% - If you omit details that are vital to the proof/implementation,
%   just say so once. Everybody will be happy with that.

\section{��èѴ����� PO/POT}

\begin{frame}{��èѴ����� PO/POT}
  % - A title should summarize the slide in an understandable fashion
  %   for anyone how does not follow everything on the slide itself.

  \begin{itemize}
  \item
    Damed Lies:\\
    \texttt{http://l10n.gnome.org/teams/th}
  \item
    SVN + intltool:\\
    Checkout:\\
    \texttt{\$ svn co http://svn.gnome.org/svn/\textit{pkg}/trunk \textit{pkg}}\\
    Generate POT:\\
    \texttt{\$ cd po \&\& intltool-update -\wbr-pot}\\
    Update th.po:\\
    \texttt{\$ cd po \&\& intltool-update th}
  \end{itemize}
\end{frame}

\section{�����}

\subsection{����ͧ���}

\begin{frame}{����ͧ���}{����ͧ������}
  \begin{itemize}
  \item
    gtranslator
  \item
    kbabel
  \item
    poedit
  \item
    vim/emacs
  \end{itemize}
\end{frame}

\begin{frame}{����ͧ���}{����ͧ��ͪ���}
  \begin{itemize}
  \item
    OSS Glossary:\\
    \texttt{http://www.opentle.org/ossglossary}
  \item
    OSS Corpus:\\
    \texttt{http://www.opentle.org/osscorpus}
  \item
    Wiki:\\
    \texttt{http://l10n.opentle.org}
  \item
    Mailing List:\\
    \texttt{http://groups.google.co.th/group/thai-l10n/}
  \end{itemize}
\end{frame}

\subsection{����繡����}

\begin{frame}{����繡����}{��Դ�ͧ���}
  \begin{itemize}
  \item
    POT -- Portable Object Template
    \begin{itemize}
      \item
        template ����Ѻ���������������
      \item
        copy �� \texttt{\textit{xy}.po}, ��˹� header, �������
    \end{itemize}
  \item
    PO -- Portable Object
    \begin{itemize}
      \item
        formatted text file ����Ѻ������������
      \item
        compile �� MO ����� \texttt{msgfmt}
    \end{itemize}
  \item
    MO -- Machine-dependent Object
    \begin{itemize}
      \item
        binary file ����Ѻ����������ҹ��зӧҹ
      \item
        �ѡ�Դ�������� \texttt{/usr/share/locale/\textit{xy}/LC\_MESSAGES/}
    \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{����繡����}{��Դ�ͧ��ͤ���}
  \begin{itemize}
  \item
    Untranslated
    \begin{itemize}
      \item
        \texttt{msgstr ""}
      \item
        ����������ͤ��������ѧ��ɵ鹩�Ѻ
    \end{itemize}
  \item
    Translated
    \begin{itemize}
      \item
        \texttt{msgstr "\textit{��ͤ���}"}
      \item
        ����������ͤ��������
    \end{itemize}
  \item
    Fuzzy
    \begin{itemize}
      \item
        \texttt{\#, fuzzy}\\
        \texttt{msgstr "\textit{��ͤ���}"}
      \item
        �ѡ�繢�ͤ��������§��� gettext ����颳� update PO
      \item
        ����������ͤ��������ѧ��ɵ鹩�Ѻ
    \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{����繡����}{Format String}
  \begin{itemize}
    \item
      ��Ѻ�ѧ��ѹ����� \texttt{printf{}}
    \item
      ᷹����ô��� ``\texttt{\%s}'' (string), ``\texttt{\%d}'' (decimal) ��� 㹢�ͤ��� 
    \item
      ���� C:
      \begin{itemize}
        \item
          ������:\\
          \texttt{msgid "Saving file '\%s'..."}\\
          \texttt{msgstr "���ѧ�ѹ�֡��� '\%s'..."}
        \item
          ��Ѻ���˹�:\\
          \texttt{msgid "\%d \%s characters"}\\
          \texttt{msgstr "�ѡ��� \%2\$s \%1\$d ���"}
      \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{����繡����}{Format String}
  \begin{itemize}
    \item
      ���� Python:
      \begin{itemize}
        \item
          ������:\\
          \texttt{msgid "Saving file '\%s'..."}\\
          \texttt{msgstr "���ѧ�ѹ�֡��� '\%s'..."}
        \item
          ��Ѻ���˹�:\\
          \texttt{msgid "\%(count)d \%(symbol)s characters"}\\
          \texttt{msgstr "�ѡ��� \%(symbol)s \%(count)d ���"}
      \end{itemize}
    \item
      ���� C\#:
      \begin{itemize}
        \item
          ������:\\
          \texttt{msgid "Saving file '\{0\}'..."}\\
          \texttt{msgstr "���ѧ�ѹ�֡��� '\{0\}'..."}
        \item
          ��Ѻ���˹�:\\
          \texttt{msgid "\{0\} \{1\} characters"}\\
          \texttt{msgstr "�ѡ��� \{1\} \{0\} ���"}
      \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{����繡����}{Format ����}
  \begin{itemize}
    \item
      ��Ѻ�ѧ��ѹ \texttt{strftime{}}
    \item
      ᷹����ô��� ``\texttt{\%d}'' (�ѹ���), ``\texttt{\%m}'' (��͹) ��� 㹢�ͤ��� 
    \item
      �������������: \texttt{man strftime}
    \item
      ��÷��ͺ: \texttt{date "+\textit{format}"}
    \item
      ���������СѺ����������
      \begin{itemize}
        \item
          �� �.�. ��������:\\
          \texttt{msgid "\%B \%-d \%Y"}\\
          \texttt{msgstr "\%-d \%B \%Ey"}\\
        \item
          ���ԡ��� 24 ������� (����� AM/PM):\\
          \texttt{msgid "\%I:\%M:\%S \%p"}\\
          \texttt{msgstr "\%H:\%M:\%S"}\\
        \item
          ���
      \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{����繡����}{��Ժ�}
  \begin{itemize}
    \item
      ��ͤ������ǡѹ �Ҩ�դ������µ�ҧ�ѹ㹺�Ժ���ҧ �
    \item
      gettext �¡����� \textit{��Ժ� (context)}
    \item
      Ẻ���:\\
      \texttt{msgid "status|Read"}\\
      \texttt{msgstr "��ҹ����"}\\
      (�Ѵ��ͤ���˹�� ``\texttt{|}'')
    \item
      Ẻ����:\\
      \texttt{msgctxt "status"}\\
      \texttt{msgid "Read"}\\
      \texttt{msgstr "��ҹ����"}\\
  \end{itemize}
\end{frame}

\begin{frame}{����繡����}{Human Interface Guidelines (HIG)}
  \begin{itemize}
    \item
      GNOME HIG ��˹� guideline ����Ѻ UI �繢�͵�ŧ����
    \item
      ��ͤ���� UI �֧�դ������¾����
    \item
      ``.{\wbr}.{\wbr}.'' ���¢�ͤ���㹻���/���� ���¶֧���͡�����ա���Դ���ͧ��ͺ
      \begin{itemize}
        \item
          �����Ѵ�͡
        \item
          ������ҧ:\\
          \texttt{msgid "Browse..."}\\
          \texttt{msgstr "���¡��..."}\\
      \end{itemize}
  \end{itemize}
\end{frame}

\begin{frame}{����繡����}{HIG}
  \begin{itemize}
    \item
      ``\_'' ˹���ѡ��� ��˹������ǹ����Ѻ���͡��¡�ô����鹾����
      \begin{itemize}
        \item
          ���͡�ѡ��������·���������
        \item
          ����§�ѡ��з���������ҧ�������� ���кҧ�ը������繢մ�����
        \item
          UI �ش����ҡ�������ѹ �����������ǹ��ӡѹ
        \item
          ������ҧ:\\
          \texttt{msgstr "\_About"}\\
          \texttt{msgstr "�\_����ǡѺ"}
      \end{itemize}
  \end{itemize}
\end{frame}

\subsection{��÷��ͺ}

\begin{frame}{��÷��ͺ}
  \begin{itemize}
  \item
    ������:\\
    \texttt{\$ msgfmt -cv th.po}
  \item
    �Դ��� MO:\\
    \texttt{\# cp messages.mo /usr/share/locale/th/LC\_MESSAGES/\textit{pkg}.mo}
  \item
    �ͧ���¡������٤��� ����� \texttt{LANG=th\_TH.UTF-8}
  \end{itemize}
\end{frame}


\section{����觧ҹ}

\begin{frame}{����觧ҹ��ҹ������ҹ�ҹ}
  \begin{itemize}
  \item
    ��ͧ�ҧ:
    \begin{itemize}
      \item
        Mailing List:\\
        \texttt{http://groups.google.co.th/group/thai-l10n/}
      \item
        �����ǹ���:\\
        \texttt{thep@linux.thai.net}
    \end{itemize}
  \item
    ���Ũж١��Ǩ�ҹ����駡���������Һ
    \begin{itemize}
      \item
        ����觷ҧ mailing list ���駡�õ�Ǩ�ҹ� mailing list
      \item
        ����觷ҧ�����ǹ��� ���駡�õ�Ǩ�ҹ�ҧ�����ǹ��� (�й�����Ѻ�������)
    \end{itemize}
  \end{itemize}
\end{frame}

\end{document}


