Product SiteDocumentation Site

3.5. Proofreading

To proofread your translation as part of the software, follow these steps:
  1. Change directory to the package you want to proofread. For example,
    cd ~/myproject/system-config-printer/
    
  2. Convert the .po file to a .mo file using msgfmt with -o option:
    msgfmt -o system-config-printer.mo ja.po
    
  3. As a root user, overwrite the existing .mo file in /usr/share/locale/lang/LC_MESSAGES/.
    First, back up the existing file:
    su -
    
    cp /usr/share/locale/ja/LC_MESSAGES/system-config-printer.mo system-config-printer.mo-backup
    
    Now move the file converted for proofreading.
    mv system-config-printer.mo /usr/share/locale/ja/LC_MESSAGES/
    
    Exit root user.
    exit
    
  4. Proofread the package with the translated strings as part of the application:
    LANG=ja_JP.UTF-8 system-config-printer
    
The application related to the translated package runs with the translated strings.