Hi,
I have translated a pt_br.js for the vresource directory. However, I have a problem. I am trying to make Portuguese the default language, making some changes in the files below. Now, Portuguese appears in the languages menus, but there is allways an error message:
Error adding auto/video languageLanguage pt_br is not available'pt_br' has not been defined as a video language(and the same for slides and titles)
This happens both in Portuguese and English.
I don't know what I'm doing wrong.
Paulo Penteado
Salvador, Bahia, Brasil
autoview/templates/autoview.xsl...
<xsl:template match="languages">
<script type="text/javascript" src="{$vresource}lang/en.js">//</script>
<xsl:if test="string-length($extension) > 0">
<script type="text/javascript" src="{$vresource}lang/
pt_br.js">//</script>
<script type="text/javascript" src="{$vresource}lang/es.js">//</script>
<script type="text/javascript" src="{$vresource}lang/de.js">//</script>
<script type="text/javascript" src="{$vresource}lang/it.js">//</script>
<script type="text/javascript" src="{$vresource}lang/sk.js">//</script>
<script type="text/javascript" src="{$aveditdir}lang/en.js">//</script>
<script type="text/javascript" src="{$aveditdir}lang/
pt_br.js">//</script>
</xsl:if>
<xsl:if test="string-length($extension)=0">
<xsl:for-each select="lang[node()!='
pt_br']">
...
autoview/avedit/convert.xsl...
var l='
pt_br';
...
blank.avx...
<lang>
pt_br</lang>