translations property

List<ContributorsTranslation> translations
final

translations is the List<ContributorsTranslation> you want to use, we have defaults but you can add custom ones here. This overrides the default supported languages which means you should add every language you want to support inside this list. The built-in translations are factory methods of ContributorsTranslation.

Example:

  • ContributorsTranslation.en()
  • ContributorsTranslation.ar()

Implementation

final List<ContributorsTranslation> translations;