Page Index Toggle Pages: 1
Topic Tools
Normal Topic English fallback when not found in local language (Read 1,641 times)
sebastian nielsen
YaBB Newcomer
*
Offline



Posts: 3

YaBB 2.5
English fallback when not found in local language
Aug 1st, 2011 at 4:32pm
Post Tools
Would want to suggest a feature in Y3: A language fallback option, so if you install a incomplete language pack, you can select to fallback on a specific language.

The fallback could work by "executing" the default language files first, and then the selected language after. The texts that exist in the second language would then overwrite the english texts in-memory, leaving english texts remaining for anything not covered in the second language.

So then the forum would be mixed (translated language)-english where texts not existing in translated langfile is english. Even if it looks crazy, thats much better than having "blank" buttons/checkboxes and such that you don't know what it does.

Another option could be to elect to show the translation IDs/variables. So any untranslated buttons/checkboxes/captions would be shown like this: $admin{'show_ip_admin'}
if the translated text for "Show members and guests IP-numbers for administrators" is missing in the language file.

It can be in the admin panel:

If a translated text is unavailable for a specific language:
(*) Dont show it and leave it blank
(  ) Show the text in the default language
(  ) Show the raw translation variable used in language file


This would make it easier for both the translator and the the end user.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: English fallback when not found in local language
Reply #1 - Aug 3rd, 2011 at 12:38am
Post Tools
Would be a nice feature if the forum was used for translating an incomplete language pack, but we don't release incompleted code package for the forum, so wouldn't expect the language pack to be.
  Language packs for example Y2.4 can be compared to Y2.5 in editing programs like WinMerge, that compare 2 files, then highlights additions, modifications and deletions between the files in colors.  This allows a user to update the exact file, most of the time with a single click to move differing text to the file needing updating, also allowing direct editing of that file by simply typing in the translation.
  A complete language package that has been fully translated is much better than mixing languages or exposing code tags.
  
Back to top
 
IP Logged
 
sebastian nielsen
YaBB Newcomer
*
Offline



Posts: 3

YaBB 2.5
Re: English fallback when not found in local language
Reply #2 - Aug 3rd, 2011 at 5:15am
Post Tools
I agree that completed language packs are better than mixed languages/code tags, but mixed languages are to great help to user if the admin has installed a - as you say - a for example 2.4 langpack into a 2.5 forum.

And code tags are in great help for both admins and translators, fixing missed texts and admins populating the language files themselves.

Look at this for example, this is this forum in swedish mode.
I think it would be more user friendly if that was shown in english as a "emergency" option.
  

forumerror.PNG ( 46 KB | 104 Downloads )
forumerror.PNG
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top