public class I18n
extends java.lang.Object
Constructor and Description |
---|
I18n() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getNumberFemale(int size,
java.lang.String word)
refer to {@link #getNumberMale(int, String) for more information
this class deals with things like
la etiqueta las etiquetas . |
static java.lang.String |
getNumberMale(int size,
java.lang.String word)
Returns "el" if lang is Spanish and size = 0
Returns "los" is lang is Spanish and size >= 0 Returns "the" if lang is English and size = 0 Returns "the" if lang is English and size >= 0 Example: if word is "concepto", and lang is Spanish the returned string can be used to build the phrase "revise %1$s %2$s" where %1$s argument is getNumberMale(n,"concepto") and %2$s is "ifrs:revenue" revise el concepto ifrs:revenue
revise los conceptos ifrs:revenue
Example: if word is "concept", and lang is English
review the concept ifrs:revenue
review the concepts ifrs:revenue and ifrs:CashAndCashEquivalents
. |
public static java.lang.String getNumberMale(int size, java.lang.String word)
Example: if word is "concepto", and lang is Spanish the returned string can be used to build the phrase "revise %1$s %2$s" where %1$s argument is getNumberMale(n,"concepto") and %2$s is "ifrs:revenue"
el concepto
ifrs:revenuelos conceptos
ifrs:revenuethe concept
ifrs:revenuethe concepts
ifrs:revenue and ifrs:CashAndCashEquivalentssize
- the sizeword
- to pluralizepublic static java.lang.String getNumberFemale(int size, java.lang.String word)
this class deals with things like
la etiqueta
las etiquetas
.
size
- the sizeword
- to pluralizeCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa