We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I configured the internationalization as follows:
session = tt.Session( i18n=tt.I18nConfig(default_locale="fr-FR", translations="./translations"), )
The cube got created successfully but I encountered the following error during session.visualize and when accessing the web app as well:
session.visualize
500: Internal server error on: http://localhost:52286/activeviam/pivot/rest/v8zz2/cube/discovery.
translations.zip
server.log
The text was updated successfully, but these errors were encountered:
It worked after I removed the snippet:
"_GENERAL_": { "Epoch": "Source Simulation" },
from the following:
{ "_CUBES_": { "Monte Carlo Analytics": "Analytique de Monte-Carlo" }, "_DESCRIPTIONS_": { "[Monte Carlo Data].[AsOfDate].[AsOfDate]": "À la date", "[Monte Carlo Data].[CounterpartyId].[CounterpartyId]": "Identifiant de la contrepartie", "[Monte Carlo Data].[TimePoint].[TimePoint]": "Point de temps", "[Monte Carlo Data].[TradeId].[TradeId]": "Identifiant commercial", "[Measures].[contributors.COUNT]": "Nombre de faits", "[Measures].[CE_vector]": "CE Vecteur", "[Measures].[MtM_vector.MEAN]": "moyenne de MtM_Vecteur", "[Measures].[MtM_vector.SUM]": "Somme de MtM_Vecteur" }, "_FORMATTERS_": { "[Measures].[NotionalUSD]": "DOUBLE[USD$#,###.000]" }, "_GENERAL_": { "Epoch": "Source Simulation" }, "_MEASURES_": { "contributors.COUNT": "Nombre de faits", "CE_vector": "CE Vecteur", "MtM_vector.MEAN": "moyenne de MtM_Vecteur", "MtM_vector.SUM": "Somme de MtM_Vecteur" } }
Sorry, something went wrong.
In your translations.zip, fr-FR.json contains a incorrect trailing comma:
fr-FR.json
"_GENERAL_": { "Epoch": "Source Simulation", # <- here },
Removing it and the AsOfDate formatter fixes the issue.
AsOfDate
HuifangYeo
No branches or pull requests
Steps to reproduce
I configured the internationalization as follows:
The cube got created successfully but I encountered the following error during
session.visualize
and when accessing the web app as well:translations.zip
Environment
Logs (if relevant)
server.log
The text was updated successfully, but these errors were encountered: