문제

I have gettext setup and working on Windows and IIS. I have translated US English to GB English. All is working well but I have a question which searching could not answer.

Do I need to have multiple translations for each variation of a word (uppercase, lowercase)?

Colour -> Color
colour -> color
COLOUR -> COLOR

etc.

Thanks

도움이 되었습니까?

해결책

Yes you do. GETTEXT is case-sensitive.

Remember that different languages use different rules for capitalisation.

English "fish" is German "Fisch" (nouns are always capitalised).

Also remember that upper/lower case is a feature of latin scripts. Languages written in hebrew, arabic, etc. do not have capitals, so if you are using capitals to indicate emphasis, etc., you should find an alternative.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top