Skip to content
New issue

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

[Bug]: Translation of two statistical terms ("Intercept" and "Coefficients") do not show up in German translation of jaspRegression module #2405

Closed
2 of 3 tasks
brandmaier opened this issue Nov 13, 2023 · 3 comments

Comments

@brandmaier
Copy link

JASP Version

0.18.1

Commit ID

No response

JASP Module

Regression

What analysis are you seeing the problem on?

Linear Regression

What OS are you seeing the problem on?

Windows 11

Bug Description

I believe there is a bug (or two) related to the translation of statistical terms in the regression module. The terms "intercept" and "coefficients" are shown in English even though German translations are provided in the respective po-files. This observation is based on JASP 0.18.1. Here is a screenshot:

image

I provided a pull request to fix the issue with the term coefficients in the JASP table header (jasp-stats/jaspRegression#269 and related issue in jaspRegression jasp-stats/jaspRegression#268 ) but fixing the term coefficients seems more complicated as it occurs in multiple different operations throughout the module.

The translations are actually provided in the PO files but never used.

Here is the excerpt from the German translation file (https://github.com/jasp-stats/jaspRegression/blob/master/po/R-de.po):

msgid "(Intercept)"
msgstr "(Konstante)"

and

msgid "Coefficients"
msgstr "Koeffizienten"

Expected Behaviour

Instead of (Intercept), JASP should show the translation. In German, this would be (Konstante) according to the PO file. Instead of "Coefficients", it should show the translation, which would be Koeffizienten in German according to PO file.

Steps to Reproduce

  1. Set JASP to German (or any other language than German)
  2. Open the Adam Sandler regression example dataset
  3. Create a regression model with DV Freshness and IV year

...

Log (if any)

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.
@tomtomme
Copy link
Member

Thanks Andreas for the report! :)

I also reported similar non-translatable strings a while ago here:
#2080

The more reports, the sooner this bug will hopefully be resolved :D

While we are at it: Shouldn't "Intercept" be translated with "Schnittpunkt"? I know its a constant at the same time, but the translation guidelines argue, that we should translate as "directly" as possible.

@brandmaier
Copy link
Author

I absolutely favor "Konstante" (or "Regressionskonstante") because this is the standard term used in German text books, like Bortz & Schuster or Eid et al.

@brandmaier
Copy link
Author

Btw. the missing translation of "Coefficients" is now resolved (jasp-stats/jaspRegression#269) but the other terms (like residuals in ANOVA) are more difficult to fix because they occur at so many places in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants