Kimai2: Update Hungarian translation

Created on 1 Jul 2019  Â·  8Comments  Â·  Source: kevinpapst/kimai2

The following translations are missing from hu currently:

$ bin/console debug:translation --only-missing hu
 ----------- --------------- ----------------------------- ----------------------------- ------------------------------------------ 
  State       Domain          Id                            Message Preview (hu)          Fallback Message Preview (en)             
 ----------- --------------- ----------------------------- ----------------------------- ------------------------------------------ 
   missing    messages        recent.activities             recent.activities             Restart one of your last activities       
   missing    messages        active.entries                active.entries                Your active time measurements             
   missing    messages        admin_entity.delete_confirm   admin_entity.delete_confirm   This data will be deleted as well! Al...  
   missing    messages        label.timeBudget              label.timeBudget              Time budget                               
   missing    about           support                       support                       Support                                   
   missing    about           donate                        donate                        Donate for the future of Kimai            
   missing    about           published_under               published_under               %kimai% is published under                
   missing    about           special_thanks                special_thanks                Special thanks go to …                    
   missing    about           library_authors               library_authors               … the authors of the following softwa...  
   missing    flashmessages   timesheet.locked.warning      timesheet.locked.warning      You are editing an exported record        
   missing    flashmessages   warning                       warning                       Warning                                   
   missing    plugins         plugins.title                 plugins.title                 Plugins                                   
   missing    plugins         plugins.subtitle              plugins.subtitle              You can enhance the functionality of ...  
   missing    plugins         plugin.none_installed         plugin.none_installed         You have no plugin installed yet.         
   missing    tags            tags.title                    tags.title                    Tags                                      
   missing    tags            tags.subtitle                 tags.subtitle                 Tags allow, to freely combine timeshe...  
 ----------- --------------- ----------------------------- ----------------------------- ------------------------------------------ 

There might be more, the debug command cannot find all missing translations.

help wanted

All 8 comments

@infeeeee do you have time & think you can help with this one before I release 1.0?

doing it right now!

Awesome, thank you so much!

I just found that options in the dropdowns on editing time records, projects etc are not translatable:

image

This screenshot is from the customers page, language set to Hungarian

If you weren't aware of this, I can open a new issue for this.

Yes they are: https://github.com/kevinpapst/kimai2/blob/master/translations/actions.en.xliff

The translation cache is very annoying and sometimes won't update.
If you add a new translation file, you should delete the cache manually rm -rf var/cache/*. For me cache:clear doesn't help.

Than it is a bug in the translation checker! actions.hu.xliff doesn't exist, however bin/console debug:translation --only-missing hu shows nothing

Please don't accept my PR, this file is missing

Ah right, yeah this tool is a little dumb. It only finds translation strings that are hardcoded in the templates.
But if the translation strings are dynamically created like "actions." + "trash" then they don't show up.

The only way to see the missing translations correctly is by using the "dev" environment and then checking the red "missing translations" debug toolbar.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

Was this page helpful?
0 / 5 - 0 ratings