Translations
This allows you to make alternative phrases in other languages that can be used instead of nuBuilder Forte's English (Australian) phrases.
The translated phrases for all supported languages are stored in the zzzzsys_translate table.
Language
The User's language.
Dialects
Any changes to the English Translation (Australian) for other dialects like UK, US, Indian, etc can be treated as another language (UKEnglish, USEnglish, INEnglish) having the override strings alone with the parent English as fallback for strings not present in these modded dialects.
This method cannot be used directly for dialects of non-English languages where UPDATE statements can be used with base language INSERTs.
English
A translatable phrase used in nuBuilder Forte.
Locations of Translatable Strings
- PHP files
- JS files
- inside nubuilder4.sql as data in fields
Files in libraries have their own translations either as gettext or arrays and are not part of the core nuBuilder translations.
Translation
The translated phrase used in the selected language. Can safely delete unused language translations in the zzzzsys_translate table.
Supported Languages
Translation Stats
/* Translation Stats */ SELECT trl_language , COUNT(*) AS translated_strings , (SELECT COUNT(DISTINCT trl_english) FROM `zzzzsys_translate` a)-COUNT(*) AS ToTranslate FROM `zzzzsys_translate` GROUP BY trl_language ORDER BY translated_strings DESC; /* Find Duplicates in all langages */ SELECT trl_language, trl_english, COUNT(*) AS records FROM `zzzzsys_translate` GROUP BY trl_language, trl_english HAVING records > 1; /* Missing Strings */ SET @lang:='German'; -- choose your language here SELECT a.trl_english FROM `zzzzsys_translate` a LEFT JOIN (SELECT b.trl_english FROM zzzzsys_translate b WHERE b.trl_language = @lang) lang USING (trl_english) WHERE lang.trl_english IS NULL GROUP BY a.trl_english;
NuBuilder v4 Updated Version, v4.5
Bold indicates 100% Translation of 211 strings available in v4
Bold and Italic indicates 100% Translation of 259 strings available in v4.5
- Arabic
- Armenian
- Chinese
- Czech
- French (available after Commit 288 - Forum Post)
- German
- Greek
- Hindi
- Italian
- Malay
- Russian
- Spanish
- Tamil
- Vietnamese