s4a-lang-pt_BR.js
s4a-lang-pt_BR.js

Our group provided the Brazilian Portuguese localizations for Snap (https://github.com/edutec/Snap4Arduino/blob/master/snap/lang-pt_BR.js)  and s2a_fm, so we used those source files as a reference in order to produce a Snap4Arduino locale file for Brazilian Portuguese that should work with Snap! and remain compatible with nomenclature that already is in use elsewhere.

pt_BR -> pt - underscore - capital BR is the standard name for the Brazilian Portuguese locale employed by ICU (http://lh.2xlibre.net/locale/pt_BR/, http://www.localeplanet.com/icu/pt-BR/).  We chose to maintain it in this (somewhat clumsy) form.

Important:

The locale.js file in the Snap! source code employs the following definition for the Brazilian Portuguese dict:

SnapTranslator.dict.pt_BR = {
    // meta information
    'language_name':
        'PortuguÃªs do Brasil',
    'language_translator':
        'Aldo von Wangenheim',
    'translator_e-mail':
        'awangenh@inf.ufsc.br',
    'last_changed':
        '2014-04-20'
};

so we used SnapTranslator.dict.pt_BR as the class name referenced at the end of our Snap4Arduino s4a-lang-pt_BR.js file:

for (var attrname in s4aTempDict) { SnapTranslator.dict.pt_BR[attrname] = s4aTempDict[attrname]; }

If you have changed this in the Snap! source code, please correct it in this file.
jguille2/Snap4Arduino,edutec/Snap4Arduino,edutec/Snap4Arduino,bromagosa/Snap4Arduino,jguille2/Snap4Arduino,edutec/Snap4Arduino,jguille2/Snap4Arduino,bromagosa/Snap4Arduino,bromagosa/Snap4Arduino,bromagosa/Snap4Arduino,jguille2/Snap4Arduino