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

Huge almost empty file generated #62

Open
kaspar-allenbach opened this issue Jul 27, 2023 · 1 comment
Open

Huge almost empty file generated #62

kaspar-allenbach opened this issue Jul 27, 2023 · 1 comment
Assignees

Comments

@kaspar-allenbach
Copy link

My translationfiles have around 3000 Lines

When I take a look into the static translation files I see A LOT of empty keys:

I have around 95 lines of translations but the file has 3022 lines in total with mostly empty keys:

  'Prev / Next' => 'Prev / Next',
  'Vornamen' => 'Vornamen',
  'Nachnamen' => 'Nachnamen',
  'Anmelden' => 'Anmelden',
  'Benachrichtigung bei neuen Plakaten' => 'Benachrichtigung bei neuen Plakaten',
  'Bearbeiten' => 'Bearbeiten',
  0 => '',
  1 => '',
  2 => '',
  3 => '',
  4 => '',
  5 => '',
	'Verkauft' => 'Verkauft',
  6 => '',
  7 => '',
  8 => '',
  9 => '',
  // .... and so on
  887 => '',
  2888 => '',
  2889 => '',
  2890 => '',
  2891 => '',
  2892 => '',
  2893 => '',
  2894 => '',
  2895 => '',
  2896 => '',
  2897 => '',
  2898 => '',
  2899 => '',
  2900 => '',
  2901 => '',
  2902 => '',
  2903 => '',
  2904 => '',
  2905 => '',
  2906 => '',
  2907 => '',
  2908 => '',
  2909 => '',
  2910 => '',

What is that? Can I safely delete it?

Steps to reproduce

  1. Add translations via the controlpanel
  2. View the file in some IDE

Additional info

  • Craft version: 3.8.16
  • PHP version: 8.1.1
  • Plugin version: 2.3.2
@andrelopez
Copy link
Member

Hi @kaspar-allenbach could you please share your templates to [email protected]? I will try to recreate this issue

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

2 participants