6.2. Adding a new language

These are the steps to add a new language:

  1. Add a row in the supported_languages table in the gforge database:

    INSERT INTO supported_languages
    	(name, filename, classname, language_code)
    	VALUES ('German (Austria)',
    		'Austrian.class',
    		'Austrian',
    		'at'
    	);
    

    Note

    The language_code should follow the international language codings described in RFC 1766. For example, Portuguese Brazilian code is pt-br and not pt_BR.

  2. Copy the file Base.tab to Austrian.tab and place it in the www/languages/include folder.

  3. Translate the document

    Warning

    If you are not going to translate the entire document, please just override strings you translate.

  4. Submit the translation to the GForge project