• Resolved Rogier Lankhorst

    (@rogierlankhorst)


    This is a feature request:

    Some languages like Dutch and German know a formal variant of the locale, e.g. nl_NL_formal

    Often there are plugins/themes which do not provide a formal translation. In that case, part of the site shows in Dutch, part shows in English.

    It would be a great feature if this plug-in would automatically fall back on the non formal language if that is the case. So in the example of Dutch: nl_NL.

    Of course you can configure it that way using this plug-in, but configuring this seems obsolete: if you have selected formal, the non formal variant is always the next best choice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Thanks for sharing your feature request.

    if you have selected formal, the non formal variant is always the next best choice.

    Not necessarily. For example I might want de_CH_formal to fall back to de_DE_formal first before trying de_CH_informal.

    Because there are lots of nuances like this and we had lengthy discussions about such scenarios in the past, we realized that the only way to cover all cases is by letting you configure things manually. That should be trivial to set up in the settings.

    If you prefer automated fallback, I think right now this is best done in a plugin.

    Thread Starter Rogier Lankhorst

    (@rogierlankhorst)

    @swissspidy Personally, I would prefer an automatic default, which can be edited. Otherwise you have to educate users about this, with a lot of support questions as a result. What the best default is, is something to be discussed. Staying within the same locale is a more generic solution imo, but, as a design choice, for me not the most important thing.

    Something which works out of the box for most, and needs to be edited by some, would be how I would summarise the best solution.

    If that means a fallback to de_DE, I’m fine with that. But that would probably mean building in an exception, or hardcoding fallback chains.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatic fallback from formal to non-formal’ is closed to new replies.