The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Internationalization

library(datamods)

When using {datamods} modules, a simple way to modify labels display is provided for using a different language or simply use other labels. There are 4 different ways to use new labels:

# Using a supported language
set_i18n("fr")

# Using a named list
set_i18n(list("Some label" = "Its translation", ...))

# Using a data.framewith 2 columns
set_i18n(data.frame(label = c(...), translation = c(...)))

# Using a CSV file
set_i18n("path/to/file.csv")

Integrated languages

The following languages are integrated in {datamods} :

set_i18n("fr")
set_i18n("mk")
set_i18n("pt")
set_i18n("al")
set_i18n("cn")
set_i18n("es")
set_i18n("de")
set_i18n("tr")
set_i18n("kr")
set_i18n("pl")
set_i18n("ja")

If you want another language to be supported, you can submit a Pull Request to add a CSV file like the one used for french (file is located in inst/i18n folder in the package, you can see it here on GitHub).

Using a list

You can change labels with a named list, where names correspond to the labels and values to the translation to use:

options("datamods.i18n" = list(
  "Import a dataset from an environment" = "Importer un jeu de données depuis l'environnement global",
  "Select a data.frame:" = "Sélectionner un data.frame :",
  ...
))

Using a data.frame

You can change labels with a data.frame with two columns label (the original label) and translation (the new label to display):

set_i18n(data.frame(
  label = c("Import a dataset from an environment", "Select a data.frame:", ...),
  translation = c("Importer un jeu de données depuis l'environnement global", "Sélectionner un data.frame :", ...)
))

Using a file

Use a CSV file with same structure than data.frame above:

set_i18n("path/to/file.csv")

An example of file is shown below.

All labels

Here’s the file used for french translation with all labels used in the package:

"label","translation","comment"
"% of the total","% du total","Automatically translated"
"% of the total, i.e.","% du total, soit","Automatically translated"
"A shareable link, in that case first sheet will be read","Un lien partageable, dans ce cas la première feuille sera lue",""
"Add a label to data","Ajouter un libellé aux données",""
"Add a row","Ajouter",""
"Apply changes","Appliquer les changements",""
"Browse...","Parcourir...",""
"Cancel","Annuler",""
"Choose a name for the column to be created or modified,","Choisissez un nom pour la colonne à créer ou à modifier,","Automatically translated"
"Choose a number of rows :","Choisissez un nombre de lignes :","Automatically translated"
"Choose a percentage :","Choisissez un pourcentage :","Automatically translated"
"Click on a column name to add it to the expression:","Cliquez sur un nom de colonne pour l'ajouter à l'expression :","Automatically translated"
"Click to delete","Cliquez pour supprimer",""
"Click to edit","Cliquez pour modifier",""
"Close","Fermer",""
"Close intervals on the right","Intervalles rapprochés à droite","Automatically translated"
"Column added!","Colonne ajoutée !","Automatically translated"
"Convert Numeric to Factor","Convertir un numérique en facteur","Automatically translated"
"Copy & paste data","Copier / coller des données",""
"Copy / Paste","Copier / Coller",""
"Count","Compter","Automatically translated"
"Create a new column","Créer une nouvelle colonne","Automatically translated"
"Create a new variable otherwise replaces the one selected","Créer une nouvelle variable sinon remplace celle sélectionnée","Automatically translated"
"Create column","Créer une colonne","Automatically translated"
"Create factor variable","Créer une variable de facteur","Automatically translated"
"Data has %s observations and %s variables.","Les données ont %s observations et %s variables.",""
"Data ready to be imported!","Données prêtes à être importées",""
"Data successfully imported!","Données importées avec succès",""
"Data successfully updated!","Données mises à jour avec succès !",""
"Data wasn't deleted","Les données n'ont pas été supprimées","Automatically translated"
"Data wasn't updated","Les données n'ont pas été mises à jour","Automatically translated"
"Dataset validation:","Validation de l'ensemble de données :","Automatically translated"
"Date format:","Format des dates :",""
"Date to use as origin to convert date/datetime:","Date à utiliser comme origine pour convertir des dates au format numérique :",""
"Decimal separator:","Séparateur de décimal :",""
"Delete","Effacer",""
"Do you want to delete the selected row ?","Voulez-vous supprimer la ligne sélectionnée ?",""
"Encoding:","Encodage :",""
"Enter URL to data:","Entrez l'URL des données :","Automatically translated"
"Enter a shareable link to a GoogleSheet:","Entrez un lien partageable vers une GoogleSheet :",""
"Enter an expression to define new column:","Entrez une expression pour définir une nouvelle colonne :","Automatically translated"
"Environment","Environnement",""
"Error","Erreur",""
"External file","Fichier",""
"Factor variable to reorder:","Variable de facteur à réorganiser :","Automatically translated"
"Failed","Echec",""
"First five rows are shown below:","Les cinq premières lignes sont affichées ci-dessous :",""
"Googlesheets","Googlesheets",""
"Group calculation by:","Calcul de groupe par :","Automatically translated"
"Help","Aide",""
"How to import data?","Comment importer des données ?",""
"Import","Import",""
"Import Google Spreadsheet","Importer une GoogleSheet",""
"Import Url","URL d'importation","Automatically translated"
"Import a dataset from an environment","Importer un jeu de données depuis l'environnement global",""
"Import a file","Import d'un fichier",""
"Import data","Importer les données",""
"Imported data","Données importées","Automatically translated"
"Include lowest value","Inclure la valeur la plus basse","Automatically translated"
"Information","Informations",""
"Item has been modified","L'élément a été modifié",""
"Levels","Les niveaux","Automatically translated"
"List of data.frame...","Liste des tableau de données",""
"Max:","Maximale :","Automatically translated"
"Mean:","Signifier:","Automatically translated"
"Method:","Méthode:","Automatically translated"
"Min:","Min :","Automatically translated"
"Missing values characters:","Caractères de valeurs manquants :","Automatically translated"
"Missing:","Manquant:","Automatically translated"
"Most Common:","Le plus commun:","Automatically translated"
"New column name cannot be empty","Le nom de la nouvelle colonne ne peut pas être vide","Automatically translated"
"New column name:","Nouveau nom de colonne :","Automatically translated"
"No","Non",""
"No data selected!","Pas de données sélectionnées",""
"No data to display.","Pas de données à afficher.",""
"No data.frame here...","Pas de données ici...",""
"No file selected","Pas de fichier sélectionné",""
"No file selected:","Aucun fichier sélectionné",""
"Not a data.frame","Pas un data.frame","Automatically translated"
"Nothing pasted yet!","Rien n'a encore été collé !",""
"Number of breaks:","Nombre de pauses :","Automatically translated"
"Number of rows:","Nombre de lignes :",""
"OK","OK",""
"Ooops","Ooops",""
"Paste data here:","Collez vos données ici :",""
"Please copy and paste some data in the dialog box above.","Veuillez copier et coller certaines données dans la boîte de dialogue ci-dessus.",""
"Please fill in the required fields","Merci de remplir les champs obligatoires",""
"Please paste a valid GoogleSheet link in the dialog box above.","Veuillez coller un lien GoogleSheet valide dans la boîte de dialogue ci-dessus.",""
"Please paste a valid link in the dialog box above.","Veuillez coller un lien valide dans la boîte de dialogue ci-dessus.","Automatically translated"
"Registered","Enregistré",""
"Required field","Champs requis",""
"Row has been saved","La ligne a été enregistrée",""
"Row was not deleted","La ligne n'a pas été supprimée",""
"Rows to skip before reading data:","Lignes à ignorer avant de lire les données :","Automatically translated"
"Sample data by :","Echantillonner les données selon :",""
"Save","Enregistrer",""
"Select","Sélectionner",""
"Select a data.frame:","Sélectionner un data.frame :",""
"Select an environment in which to search:","Sélectionner un environnement dans lequel rechercher :",""
"Select environment","Sélectionner un environnement",""
"Select sheet to import:","Sélectionner la feuille à importer :",""
"Some operations are not allowed","Certaines opérations ne sont pas autorisées","Automatically translated"
"Something went wrong...","Un problème est survenu...",""
"Sort count","Nombre de tris","Automatically translated"
"The URL that appear in your browser, in that case the current sheet will be read","L'URL qui apparaît dans votre navigateur, dans ce cas la feuille active sera lue",""
"The row has been deleted","La ligne a été supprimée",""
"The row wasn't added to the data","La ligne n'a pas été ajoutée aux données","Automatically translated"
"URL","URL",""
"Unable to add the row, contact the platform administrator","Impossible d'ajouter la ligne, contactez l'administrateur de la plateforme",""
"Unable to delete the row, contact platform administrator","Impossible de supprimer la ligne, contactez l'administrateur de la plateforme",""
"Unable to modify the item, contact the platform administrator","Impossible de modifier l'élément, contactez l'administrateur de la plateforme",""
"Unique values:","Valeurs uniques :","Automatically translated"
"Unique:","Unique:","Automatically translated"
"Update","Modifier",""
"Update & select variables","Modifier et sélectionner des variables",""
"Update factor variable","Variable de facteur de mise à jour","Automatically translated"
"Update levels of a factor","Mettre à jour les niveaux d'un facteur","Automatically translated"
"Update row","Mettre à jour la ligne",""
"Upload a file:","Charger un fichier :",""
"Use a data.frame from your environment or from the environment of a package.","Utiliser un tableau de données de votre environnement ou de celui d'un paquet.",""
"Valid number of columns","Nombre de colonnes valide","Automatically translated"
"Valid number of rows","Nombre de lignes valide","Automatically translated"
"Validate","Validation",""
"Validation:","Validation :",""
"Variable to cut:","Variable à couper :","Automatically translated"
"View","Affichage",""
"Warning","Avertissement","Automatically translated"
"Yes","Oui",""
"You can either use:","Vous pouvez utiliser au choix :",""
"You can import %s files","Vous pouvez importer des fichers %s",""
"You can import from flat table format supported by","Vous pouvez importer à partir du format de tableau plat pris en charge par","Automatically translated"
"click to see data","cliquez pour afficher les données",""
"data has %s obs. of %s variables.","les données ont %s observations et %s colonnes.",""
"if several use a comma ',' to separate them","si plusieurs utilisent une virgule ',' pour les séparer","Automatically translated"
"lines, i.e.","lignes, c'est-à-dire","Automatically translated"
"number of rows","Nombre de lignes",""
"proportion of rows","Proportion de lignes",""
"rows","lignes","Automatically translated"
"then enter an expression before clicking on the button above to validate or on ","puis saisissez une expression avant de cliquer sur le bouton ci-dessus pour valider ou sur","Automatically translated"
"to delete it.","pour le supprimer.","Automatically translated"
"Sort by count","Trier par nombre","Automatically translated"
"Sort by levels","Trier par niveaux","Automatically translated"

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.