Enhancement #3368

Language fallback to alternative country

Added by Davide Principi over 5 years ago. Updated over 5 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-httpd-admin
Target version:v6.7
Resolution: NEEDINFO:No

Description

Consider pt-BR and pt-PT locale codes: if a string catalog is not available under pt_BR directory, the following fallback language should be tried:
  • pt
  • pt_PT
  • en_US

Associated revisions

Revision 9309d0e8
Added by Davide Principi over 5 years ago

Bump nethgui b21d43dbcb5f31a54227d64ed80752e57ca0973d. Refs #3368

Revision b5a0218c
Added by Davide Principi over 5 years ago

Bump nethgui 2381854ab76ad73548dec512e3f0a779c54d19e3. Refs #3368

Revision 07c680d7
Added by Davide Principi over 5 years ago

Merge branch 'master' into v7

Refs #3333 #3368

History

#1 Updated by Davide Principi over 5 years ago

  • Status changed from TRIAGED to MODIFIED
  • Assignee set to Davide Principi
  • % Done changed from 20 to 60

MODIFIED

https://github.com/NethServer/nethgui/commit/b21d43dbcb5f31a54227d64ed80752e57ca0973d

Test case

  • Install the nethserver-lang-pt package from nethserver-testing repo
  • Check the right translations are selected by changing the locale code in URL (pt-PT, pt-BR, pt)

#2 Updated by Davide Principi over 5 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Davide Principi)
  • % Done changed from 60 to 70

In nethserver-testing
nethserver-httpd-admin-1.6.3-1.1.g9309d0e.ns6.noarch.rpm
nethserver-httpd-admin-1.6.3-1.2.g67d19a4.ns6.noarch.rpm
nethserver-httpd-admin-1.6.3-1.3.gb5a0218.ns6.noarch.rpm

nethserver-lang-de-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-el-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-en-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-es-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-fr-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-hu-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-it-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-nl-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-pt-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-ru-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-sv-1.0.19-1.5.gce17b5b.ns6.noarch.rpm
nethserver-lang-tr-1.0.19-1.5.gce17b5b.ns6.noarch.rpm

#3 Updated by Giacomo Sanchietti over 5 years ago

  • Assignee set to Giacomo Sanchietti

#4 Updated by Giacomo Sanchietti over 5 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90
Tested with following languages:
  • Italian
  • English
  • Portoguese (Brazil)
  • Portogues (Portugal)

#5 Updated by Davide Principi over 5 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-httpd-admin-1.6.4-1.ns6.noarch.rpm

Also available in: Atom PDF