[EMAIL PROTECTED] wrote:



Hi,
Hi,
I would like to start translating xfce to Dzongkha(Language of Bhutan).
Therefore i would like to get some informations and pointers on how i can
go about doing this.
All relevant information can be found on http://i18n.xfce.org/, that is a good start.
 I tried to check out the po files from the svn as
given on the development page at xfce.org but am geting errors. Do i need
to get a svn accout first?
You don't need an account to checkout. Try this:

create a folder xfce and copy the attached files inside
make them executable "chmod +x *.sh"
execute checkout-po.sh

If all goes well, it should create the folders one after the other while downloading their respective contents. Once this is done, you can start creating new files for your language using the pot file, rename it using the international country codes, http://i18n.xfce.org/wiki/languages.
and also how do i submit my translations?
Ask for a translator account or just send your translations to the list and they will be committed.
Thanks
You're welcome.
Tenzin
Max
#!/bin/sh

# checkout-po.sh: checkout PO files via SVN repository.
#
# Copyright (c) 2005 Jean-Francois Wauthy <[EMAIL PROTECTED]>
# Copyright (c) 2005 Daichi Kawahata <[EMAIL PROTECTED]>
#
# This script is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; version 2 of the
# License ONLY.
#
# This script is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details at:
# http://gnu.org/licenses/gpl.html

if [ ! -z "$1" ]; then
  packages="$@"
else
  packages="\
            libexo                  \
            libxfcegui4             \
            mousepad                \
            terminal                \
            thunar                  \
            xarchiver               \
            xfburn                  \
            xfcalendar              \
            xfce-mcs-manager        \
            xfce-mcs-plugins        \
            xfce-utils              \
            xfce4-appfinder         \
            xfce4-iconbox           \
            xfce4-icon-theme        \
            xfce4-mixer             \
            xfce4-panel             \
            xfce4-session           \
            xfce4-toys              \
            xfce4-trigger-launcher  \
            xfdesktop               \
            xfmedia                 \
            xfprint                 \
            xfwm4"
fi

echo "Creating root directory..."
svn co -N https://xfce.org/svn/xfce ./

for package in $packages
do

  # for trunk
  svn up -N $package
  svn up -N $package/trunk
  echo "Getting PO files for '$package (trunk)' package..."
  svn up $package/trunk/po

  # for 4.2 branch
#  svn up -N $package/branches
#  svn up -N $package/branches/xfce_4_2
#  echo "Getting PO files for '$package (4.2 branch)' package..."
#  svn up $package/branches/xfce_4_2/po
done

  # for xffm trunk
#  svn up -N xffm
#  svn up -N xffm/trunk
#  svn up -N xffm/trunk/libxffm
#  svn up -N xffm/trunk/xffm-gui
#  svn up -N xffm/trunk/xfdiff
#  svn up -N xffm/trunk/fgr
#  svn up -N xffm/trunk/scramble
#  svn up -N xffm/trunk/plugins
#  svn up -N xffm/trunk/plugins/xfapps
#  svn up -N xffm/trunk/plugins/xfbook
#  svn up -N xffm/trunk/plugins/xffstab
#  svn up -N xffm/trunk/plugins/xflocate
#  svn up -N xffm/trunk/plugins/xfrecent
#  svn up -N xffm/trunk/plugins/xfsamba
#  svn up -N xffm/trunk/plugins/xftrash#

  # xffm core modules
  echo "Getting PO files for 'libxffm (trunk)' package..."
#  svn up xffm/trunk/libxffm/po
#  echo "Getting PO files for 'xffm-gui (trunk)' package..."
#  svn up xffm/trunk/xffm-gui/po#

  # xffm applications
#  echo "Getting PO files for 'xfdiff (trunk)' package..."
#  svn up xffm/trunk/xfdiff/po
#  echo "Getting PO files for 'fgr (trunk)' package..."
#  svn up xffm/trunk/fgr/po
#  echo "Getting PO files for 'scramble (trunk)' package..."
#  svn up xffm/trunk/scramble/po

  # xffm plugins
#  echo "Getting PO files for 'xfapps (trunk)' package..."
#  svn up xffm/trunk/plugins/xfapps/po
#  echo "Getting PO files for 'xfbook (trunk)' package..."
#  svn up xffm/trunk/plugins/xfbook/po
#  echo "Getting PO files for 'xffstab (trunk)' package..."
#  svn up xffm/trunk/plugins/xffstab/po
#  echo "Getting PO files for 'xflocate (trunk)' package..."
#  svn up xffm/trunk/plugins/xflocate/po
#  echo "Getting PO files for 'xfrecent (trunk)' package..."
#  svn up xffm/trunk/plugins/xfrecent/po
#  echo "Getting PO files for 'xfsamba (trunk)' package..."
#  svn up xffm/trunk/plugins/xfsamba/po
#  echo "Getting PO files for 'xftrash (trunk)' package..."
#  svn up xffm/trunk/plugins/xftrash/po

  # for xffm 4.2 branch
#  svn up -N xffm/branches
#  svn up -N xffm/branches/xfce_4_2
#  echo "Getting PO files for 'xffm (4.2 branch)' package..."
#  svn up xffm/branches/xfce_4_2/po

exit 0

#!/bin/sh

# update-po.sh: keeps PO files updated via SVN repository.
#
# Copyright (c) 2005 Jean-Francois Wauthy <[EMAIL PROTECTED]>
# Copyright (c) 2005 Daichi Kawahata <[EMAIL PROTECTED]>
#
# This script is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; version 2 of the
# License ONLY.
#
# This script is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details at:
# http://gnu.org/licenses/gpl.html

if [ ! -z "$1" ]; then
  packages="$@"
else
  packages="                        \
            libexo                  \
            libxfcegui4             \
            mousepad                \
            terminal                \
            thunar                  \
            xarchiver               \
            xfburn                  \
            xfcalendar              \
            xfce-mcs-manager        \
            xfce-mcs-plugins        \
            xfce-utils              \
            xfce4-appfinder         \
            xfce4-iconbox           \
            xfce4-icon-theme        \
            xfce4-mixer             \
            xfce4-panel             \
            xfce4-session           \
            xfce4-toys              \
            xfce4-trigger-launcher  \
            xfdesktop               \
            xfmedia                 \
            xfprint                 \
            xfwm4"
fi

for package in $packages

do
  # for trunk
  echo "Updating PO files for '$package (trunk)' package..."
  svn up $package/trunk/po
  # for 4.2 branch
#  echo "Updating PO files for '$package (4.2 branch)' package..."
#  svn up $package/branches/xfce_4_2/po
done

  # xffm core modules
#  echo "Updating PO files for 'libxffm (trunk)' package..."
#  svn up xffm/trunk/libxffm/po
#  echo "Updating PO files for 'xffm-gui (trunk)' package..."
#  svn up xffm/trunk/xffm-gui/po

  # xffm applications
#  echo "Updating PO files for 'xfdiff (trunk)' package..."
#  svn up xffm/trunk/xfdiff/po
#  echo "Updating PO files for 'fgr (trunk)' package..."
#  svn up xffm/trunk/fgr/po
#  echo "Updating PO files for 'scramble (trunk)' package..."
#  svn up xffm/trunk/scramble/po

  # xffm plugins
#  echo "Updating PO files for 'xfapps (trunk)' package..."#
#  svn up xffm/trunk/plugins/xfapps/po
#  echo "Updating PO files for 'xfbook (trunk)' package..."
#  svn up xffm/trunk/plugins/xfbook/po
#  echo "Updating PO files for 'xffstab (trunk)' package..."
#  svn up xffm/trunk/plugins/xffstab/po
#  echo "Updating PO files for 'xflocate (trunk)' package..."
#  svn up xffm/trunk/plugins/xflocate/po
#  echo "Updating PO files for 'xfrecent (trunk)' package..."
#  svn up xffm/trunk/plugins/xfrecent/po
#  echo "Updating PO files for 'xfsamba (trunk)' package..."
#  svn up xffm/trunk/plugins/xfsamba/po
#  echo "Updating PO files for 'xftrash (trunk)' package..."
#  svn up xffm/trunk/plugins/xftrash/po#

  # xffm 4.2 branch
#  echo "Updating PO files for 'xffm (4.2 branch)' package..."
#  svn up xffm/branches/xfce_4_2/po

exit 0

_______________________________________________
Xfce-i18n mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce-i18n

Reply via email to