Comments (10)
locale is NOT set to german! It should be something like : de_DE.utf8
Check on the terminal :
locale
to view you current setuped locale
locale -a
to list all installed locale.
And find the correct one.
Also make sure that the dates format ( $lang['dates']['day'] and $lang['dates']['time'] ) are correctly set according to german standards.
Then repost the full file here:
Also I need the ISO two letter language code for German (to correctly name the language folder): You can find it on Wikipedia or Google.
BTW when you post code here, please put 3 backtick around it, to format it as code: Edit your own previous post, and watch: I've added the tags for you.
Thank you
from phpmydomo.
File is updated
from phpmydomo.
Added in develop branch as 5dd20f2.
Notice that there is still 3 words missing a translation
BTW what is your name (so that I can credit you in the changelog)
from phpmydomo.
Made the missing translations and some typos
<?php
$lang['locale']="de_DE.utf8";
// menu head ###################################################
$lang['menu_head']['home'] ="Home";
$lang['menu_head']['cameras'] ="Kameras";
$lang['menu_head']['commands'] ="Befehle";
$lang['menu_head']['sensors'] ="Fühler";
$lang['menu_head']['devices'] ="Geräte";
// classes ###################################################
$lang['classes']['scene'] ="szenen";
$lang['classes']['sensor'] ="fühler";
$lang['classes']['command'] ="befehle";
$lang['classes']['camera'] ="kamera";
$lang['classes']['security']="sicherheit";
// blocks ###################################################
$lang['blocks_titles']['weather'] ="Wetter";
$lang['blocks_titles']['sensors'] ="Fühler";
// types blocks ###################################################
$lang['types']['scene'] ="Szenen";
$lang['types']['group'] ="Gruppe";
$lang['types']['temp'] ="Temperatur";
$lang['types']['wind_speed'] ="Wind Geschwindigkeit";
$lang['types']['wind_gust'] ="Wind Böen";
$lang['types']['wind_temp'] ="Wind Temperatur";
$lang['types']['wind_chill'] ="gefühlte Wind Temperatur";
$lang['types']['rain'] ="Regen";
$lang['types']['baro'] ="Barometer";
$lang['types']['hum'] ="Luftfeuchtigkeit";
$lang['types']['switch'] ="Schalter";
$lang['types']['door'] ="Tür";
$lang['types']['window'] ="Fenster";
$lang['types']['dimmer'] ="Dimmer";
$lang['types']['blinds'] ="Rollladen";
$lang['types']['heating'] ="Heizung";
$lang['types']['cam_ip'] ="IP Kamera";
$lang['types']['air'] ="Klimaanlage";
$lang['types']['uv'] ="UV";
$lang['types']['shutter'] ="Klappe";
$lang['types']['consum'] ="Verbrauch";
$lang['types']['undef'] ="Unbekannt";
$lang['types']['hygro'] ="Luftfeuchtigkeit";
$lang['types']['bool'] ="Status";
$lang['types']['pir'] ="Bewegung";
$lang['types']['gaz'] ="Gas/Rauch";
$lang['types']['counter'] ="Zähler";
// infos ################################################################
$lang['infos']['sunset'] ="Sonnenuntergang";
$lang['infos']['sunrise'] ="Sonnenaufgang";
$lang['infos']['now'] ="Aktuell";
// dates ################################################################
// date format according to : http://php.net/strftime
$lang['dates']['day'] ="%A %e %b"; // short: D M j //long: l F j
$lang['dates']['time'] ="%H : %M";
// home ################################################################
$lang['groups_names']['all_commands']="Alle Befehle";
?>
from phpmydomo.
there are some encoding issue in your post, ie:
$lang['menu_head']['sensors'] ="Fühler";
Please ensure that you can post it there UTF8 encoded.
Else zip your original file , and post it on some sharing site (please avoid ads popup full sites) and post the link here
BTW: give me your full name so that I can credit you!
Thank you
from phpmydomo.
Fühler contains this special character "ü" which means "ü".
It is similar to the french "è" for è.
So it will be displayed correctly as I see it here.
My full name: Juergen Kimmel
2013/12/18 soif [email protected]
there are some encoding issue in your post, ie:
$lang['menu_head']['sensors'] ="Fühler";Please ensure that you can post it there UTF8 encoded.
Else zip your original file , and post it on some sharing site (please
avoid ads popup full sites) and post the link hereBTW: give me your full name so that I can credit you!
Thank you
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-30872410
.
from phpmydomo.
There IS something weird somehere !
In your latest post, in the word
"Fühler "
I see a letter "ü" (i read it as A with a Tilde symbol followed by a small 1/4).
This typically an encoding problem, when the original character is fucked by an encoding conversion.
It may happen for example when you save a UFT8 text to ISO8859-1 latin1 or ASCII (ie .txt)
Storing it as is would not display correcly on All browsers.
You must give me a file where all symbols are displayed correcly in your language, directly in the text:
I mean if "ü" should display as "ü", Write "Fühler " and NOT Fühler.
Another example: if you have an Eszett "ß", just write it like that.
BTW the first post you've done (before editing it) what rightly encoded ; this is then certainly an issue with your text editor, not storing it as UTF8.
from phpmydomo.
I've succeed to decode the remaining words, and mixed it with your first version (well encoded)...
So this is finished now!
Thank you very much 👍
from phpmydomo.
Just to say I changed the characters on purpose because the french file contains p. e. "è" for è
from phpmydomo.
I'm going to check that !
As you can see here:
https://github.com/phpMyDomo/phpMyDomo/blob/master/www/inc/lang/fr/global.php
https://github.com/phpMyDomo/phpMyDomo/blob/master/www/inc/lang/de/global.php
Encoding is fine!
This is due to your text editor which does not correctly parse UTF8 encoded file.
from phpmydomo.
Related Issues (20)
- Ugly fonts HOT 12
- Clone git HOT 2
- Installation HOT 1
- domotiga can only swich on HOT 2
- Domotiga Temperature value (commas vs Dots) HOT 14
- Get a warning message ? HOT 7
- Invalid dimmer command send to DomotiGa backend server HOT 3
- Dimmer values not correctly retrieved from DomotiGa backend HOT 5
- pilight <-- lowercase HOT 1
- Units for "consum" sensors missing in header of groups HOT 2
- Installation HOT 1
- How to remote access through internet ? HOT 1
- Support for wind direction sensors
- Problem with home folder HOT 4
- does not work over https HOT 5
- Location name too long HOT 1
- Italian translation HOT 2
- Italian translation HOT 1
- Adding Tellstick API client
- pictures are missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpmydomo.