Gender support to locales - translations
Is there any way to change or specify the gender of a string to be translated?
I'm asking it because in my case using PT_br locale I 'm facing a bit problem with some strings.
In case of Zone context the correct translation will be 'Todas' (female)
But there other 'All' strings that need to be translated to 'Todos' (male) by example when make reference to Hosts
Or is there any way to diference the string translation... any param to the function locale.tr ...!?
#1 Updated by Carlos Martín about 4 years ago
- Status changed from Pending to Closed
You are right, the translations could be improved in this regard. But it will require a big effort and I'm not sure if this will be addressed in the short-term.
I'm closing this ticket to merge it with #4213. Your request looks like it could be fixed with gettext style contexts.
#4 Updated by Carlos Cesario about 4 years ago
Carlos Cesario wrote:
Thank you by your feedback!!!
what do you think to this pull request, while this request are not implemented.!?
Could you merge it!? pls
#6 Updated by Carlos Cesario about 4 years ago
I agree with you, but according https://www.transifex.com/opennebula/one/dashboard/ we have only 3 languages 100% translated, I believe that 8 strings changed will be translated so fast by team.
Like this patch that added new strings and it was translated so fast :) http://dev.opennebula.org/issues/3045
But, anyway thank you by your feedback !