Skip to content

Commit

Permalink
feat: add vietnamese translation (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite authored Oct 13, 2024
1 parent 4036f93 commit 45ff10f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ I welcome contributions from the community and look forward to working with you
### Translations

If you want to contribute with a translation of wallos:
- Add your language code to `includes/i18n/languages.php` in the format `"en" => "English"`. Please use the original language name and not the english translation.
- Create a copy of the file `includes/i18n/en.php` and rename it to the language code you used above. Example: pt.php for "pt" => "Português".
- Add your language code to `includes/i18n/languages.php` in the format `"en" => ["name" => "English", "dir" => "ltr"],`. Please use the original language name and not the english translation.
- Create a copy of the file `includes/i18n/en.php` and rename it to the language code you used above. Example: pt.php for "pt" => ["name" => "Português", "dir" => "ltr"],.
- Translate all the values on the language file to the new language. (Incomplete translations will not be accepted).
- Create a copy of the file `scripts/i18n/en.js` and rename it to the language code you used above. Example: pt.js for "pt" => "Português".
- Create a copy of the file `scripts/i18n/en.js` and rename it to the language code you used above. Example: pt.js for "pt" => ["name" => "Português", "dir" => "ltr"],.
- Translate all the values on the language file to the new language. (Incomplete translations will not be accepted).

## License
Expand Down
2 changes: 1 addition & 1 deletion includes/version.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
$version = "v2.29.2";
$version = "v2.30.0";
?>
4 changes: 1 addition & 3 deletions passwordreset.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,4 @@ function openRegitrationPage() {
</script>
</body>

</html>

?>
</html>
1 change: 1 addition & 0 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ self.addEventListener('install', function (event) {
'scripts/i18n/sr_lat.js',
'scripts/i18n/sr.js',
'scripts/i18n/tr.js',
'scripts/i18n/vi.js',
'scripts/i18n/zh_cn.js',
'scripts/i18n/zh_tw.js',
'scripts/i18n/getlang.js',
Expand Down

0 comments on commit 45ff10f

Please sign in to comment.