Difference between revisions of "Create new language files"

From BubbaWiki
Jump to navigation Jump to search
(Created page with 'You want to contribute and add your own language files to B3? Perfect!<br> Here are the English files that are relevant:<br> *album/en/messages.js<br> *album/en/messages.p...')
 
Line 1: Line 1:
You want to contribute and add your own language files to B3?&nbsp;Perfect!<br>
You want to contribute and add your own language files to B3?&nbsp;Perfect!<br>  


Here are the English files that are relevant:<br>
Here are the English files that are relevant:<br>  


*album/en/messages.js<br>
*album/en/messages.js<br>  
*album/en/messages.php<br>
*album/en/messages.php<br>  
*frontend/en/bubba_lang.php<br>
*frontend/en/bubba_lang.php<br>  
*frontend/en/help_lang.php<br>
*frontend/en/help_lang.php<br>  
*frontend/en/messages.js<br>
*frontend/en/messages.js<br>


<br>


If you for example whish to create a Danish version of the B3 user interface, do like this:<br>


1. Create a new folder called dk under album/<br>
2. Create a new folder called dk under frontend/<br>
3. Copy all the files from respectively catalog to the newly created folders (album/en/* to album/dk/ and frontend/en/* to frontend/dk/)<br>
4. Edit the file&nbsp;frontend/dk/description.ini:<br>
<pre>short_name="dk"
long_name="Danish"
status='user'</pre>
<br>
<br>

Revision as of 13:34, 15 November 2010

You want to contribute and add your own language files to B3? Perfect!

Here are the English files that are relevant:

  • album/en/messages.js
  • album/en/messages.php
  • frontend/en/bubba_lang.php
  • frontend/en/help_lang.php
  • frontend/en/messages.js


If you for example whish to create a Danish version of the B3 user interface, do like this:

1. Create a new folder called dk under album/

2. Create a new folder called dk under frontend/

3. Copy all the files from respectively catalog to the newly created folders (album/en/* to album/dk/ and frontend/en/* to frontend/dk/)

4. Edit the file frontend/dk/description.ini:

short_name="dk"
long_name="Danish"
status='user'